MovableObject:AddAbsForce

From Data Realms Wiki

Revision as of 00:50, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxAddAbsForce( * 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 absolute world coordinates, in PIXELS, of where the force is being applied 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