APPLY FORCE TO OBJECT

From GTAMods Wiki
Revision as of 10:40, 30 April 2009 by GhostGum (talk | contribs) (Added IsForceDirectionReletive. Swapped around force & angle parameters as i found they were listed backwards here, in my testing. Added suggested values to unknown parameters.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
APPLY_FORCE_TO_OBJECT
Number of parameters: 12
Parameter #TypeDescription
1.integerobject Id
2.boolUnknown, suggested: true
3.floatX Force
4.floatY Force
5.floatZ Force
6.floatX Angle
7.floatY Angle
8.floatZ Angle
9.boolUnknown, suggested: true
10.boolIsForceDirectionReletive
11.boolUnknown, suggested: true
12.boolUnknown, suggested: true
Return value:
TypeDescription
None

Applies force to an object.

P10 IsForceDirectionReletive specifies if the force direction is relative to direction object is facing (true), or static world direction (false).