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 (Spelling check.)
Line 20: Line 20:
 
|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).

Revision as of 09:33, 14 June 2010

APPLY_FORCE_TO_CAR
Number of parameters: 12
Parameter #TypeDescription
1.integerCar 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.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).