setVelocityTransformation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added example)
Line 42: Line 42:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]

Revision as of 12:34, 2 November 2011

Hover & click on the images for description

Description

Description:
Interpolate and sets vectors.
Groups:
Uncategorised

Syntax

Syntax:
objectName setVelocityTransformation [position1, position2, velocity1, velocity2, direction1, direction2, up1, up2, time]
Parameters:
objectName: Object
position1: Number
position2: Number
velocity1: Number
velocity2: Number
direction1: Number
direction2: Number
up1: Number
up2: Number
time: Number
Return Value:
Nothing

Examples

Example 1:
_targetUnit setVelocityTransformation [_tmpPos,_tmpPosNext,_tmpVel,_tmpVelNext,_tmpVecDir,_tmpVecDirNext,_tmpVecUp,_tmpVecUpNext,_tmpTimeDiff];//fn_UnitPlay.sqf from \ca\modules_e\Functions\scenes

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section