BIS_fnc_sceneRotate
- Arma 3 v0.50
- First in Arma 2 v1.00
Function · Markdown · JSON · original wiki page
Description
Compute new object coordinates from given center and angle from MOTION BUILDER
Syntax
[center, centerAngle, angle, iniPosition] call BIS_fnc_sceneRotate
Parameters:
center: Array - center position from MOTION BUILDERcenterAngle: Number - rotation of center from MOTION BUILDERangle: Number - rotationiniPosition: Array - inital position
Returns: Array - array in format [[PositionX,PositionY,PositionZ], Rotation]
Examples
Example 1
[[1337,1337,0], 42, 120, [200,200,0]] call BIS_fnc_sceneRotate; // returns [[1337.15,1334.18,0],-258]
See also
BIS_fnc_sceneCreateSoundEntities · BIS_fnc_sceneSetBehaviour · BIS_fnc_sceneGetObjects