Attachable:TransferJointImpulses

From Data Realms Wiki

Revision as of 00:46, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxTransferJointImpulses( * A vector that will have with the imps affecting the joint ADDED to it. )
Description:
Bundles up all the accumulated impulses of this Attachable and calcs how they transfer to the joint, and therefore to the parent.
ReturnsIf the accumulated impulses exceed the strength of the joint, the attachable will only fill out the impulses up to the strength threshold and then detach itself and return false, and the parent should react accordingly in that case (null out pointers to the Attachable).




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools