MovableObject:AddAbsImpulseForce

From Data Realms Wiki

Jump to: navigation, search
Function
SyntaxAddAbsImpulseForce( * An Vector with the impulse force vector that will directly be added to this MovableObject's momentum next Update(). In kg * m/s.
  • A Vector with the absolute world coordinates, in PIXELS, of where the force is being applied to the center of this MovableObject. )
Description:
Adds impulse force (or instant momentum) 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