MovableObject:AddForce

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxAddForce( * An Vector with the external force vector that will be added to this
  • MovableObject and affect its path next Update(). In N or kg * m/s^2.
  • A Vector with the offset, in METERS, of where the force is being applied relative to the center of this MovableObject. )
Description:
Adds force to this MovableObject for the next time Update() is called.
ReturnsNone.




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