APPLY FORCE TO CAR

From GTAMods Wiki
Revision as of 20:03, 8 January 2018 by Zolika1351 (talk | contribs) (Edited the parameters from force & angle to force amount & force position)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
APPLY_FORCE_TO_CAR
Number of parameters: 12
Parameter #TypeDescription
1.integerCar Id
2.boolUnknown, suggested: true
3.floatX Force Amount
4.floatY Force Amount
5.floatZ Force Amount
6.floatX Force Position
7.floatY Force Position
8.floatZ Force Position
9.boolUnknown, suggested: true
10.boolIsForceDirectionRelative
11.boolUnknown, suggested: true
12.boolUnknown, suggested: true
Return value:
TypeDescription
None

Applies force to a car.

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