Attachable:TransferJointForces

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxTransferJointForces( * A vector that will have with the forces affecting the joint ADDED to it. )
Description:
Bundles up all the accumulated forces of this Attachable and calcs how they transfer to the joint, and therefore to the parent.
ReturnsIf the accumulated forces exceed the strength of the joint, the attachable will only fill out the forces 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