Warning: file_put_contents(/ff_84f91477d12eeae0b62a6e585c01609879ddec94bab4a4a9.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setVelocityTransformation - OFPEC Scripting Command Reference | OFPEC The Editing Center

objectName setVelocityTransformation [position1, position2, velocity1, velocity2, direction1, direction2, up1, up2, time]

Operand types

objectName: Object
[position1, position2, velocity1, velocity2, direction1, direction2, up1, up2, time] : Array

Type of returned value

Description

Interpolates and sets vectors for the given object.

Parameter types
- position1: Array
- position2: Array
- velocity1: Array
- velocity2: Array
- direction1: Array
- direction2: Array
- up1: Array
- up2: Array
- time: Number

Used In

Arma2OA

Example

loon1 setVelocityTransformation [position1,
position2,
velocity1,
velocity2,
vectorDir1,
vectorDir2,
vectorUp1,
vectorUp2,
time];

Advertisement