setVelocityTransformation: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Fred Gandt (talk | contribs) m (Added to "see also" + <pre> to <code>) |
||
Line 25: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_targetUnit [[setVelocityTransformation]] [ | ||
_tmpPos, | |||
_tmpPosNext, | |||
_tmpVel, | |||
_tmpVelNext, | |||
_tmpVecDir, | |||
_tmpVecDirNext, | |||
_tmpVecUp, | |||
_tmpVecUpNext, | |||
_tmpTimeDiff | |||
]; | |||
[[comment]] "fn_UnitPlay.sqf from \ca\modules_e\Functions\scenes";</code> |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[velocity]] |= See also | | [[velocity]], | ||
[[velocityModelSpace]], | |||
[[setVelocity]] |= See also | |||
}} | }} | ||
Revision as of 23:26, 22 March 2014
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 ]; comment "fn_UnitPlay.sqf from \ca\modules_e\Functions\scenes";
Additional Information
- See also:
- velocity, velocityModelSpace, setVelocity
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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.51
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- ArmA 2 OA: New Scripting Commands List