Difference between revisions of "APPLY FORCE TO CAR"

From GTAMods Wiki
Jump to navigation Jump to search
(Added IsForceDirectionReletive. Swapped around force & angle parameters as i found they were listed backwards here, in my testing. Added suggested values to unknown parameters.)
m (Edited the parameters from force & angle to force amount & force position)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
|p2d=Unknown, suggested: true
 
|p2d=Unknown, suggested: true
 
|p3t=float
 
|p3t=float
|p3d=X Force
+
|p3d=X Force Amount
 
|p4t=float
 
|p4t=float
|p4d=Y Force
+
|p4d=Y Force Amount
 
|p5t=float
 
|p5t=float
|p5d=Z Force
+
|p5d=Z Force Amount
 
|p6t=float
 
|p6t=float
|p6d=X Angle
+
|p6d=X Force Position
 
|p7t=float
 
|p7t=float
|p7d=Y Angle
+
|p7d=Y Force Position
 
|p8t=float
 
|p8t=float
|p8d=Z Angle
+
|p8d=Z Force Position
 
|p9t=bool
 
|p9t=bool
 
|p9d=Unknown, suggested: true
 
|p9d=Unknown, suggested: true
 
|p10t=bool
 
|p10t=bool
|p10d=IsForceDirectionReletive
+
|p10d=IsForceDirectionRelative
 
|p11t=bool
 
|p11t=bool
 
|p11d=Unknown, suggested: true
 
|p11d=Unknown, suggested: true
Line 30: Line 30:
 
Applies force to a car.
 
Applies force to a car.
  
P10 IsForceDirectionReletive specifies if the force direction is relative to direction object is facing (true), or static world direction (false).
+
P10 IsForceDirectionRelative specifies if the force direction is relative to direction object is facing (true), or static world direction (false).

Latest revision as of 20:03, 8 January 2018

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).