This function rotates the start position around the pivot position by the given euler rotation, and returns the result as a pipe-bar delimited list.
VectorRotateAroundPoint([Start Position], [Rotation], [Pivot Point])
Where:
Start Position is a pipe-bar delimited list representing the start position vector (X|Y|Z).
Rotation is a pipe-bar delimited list representing the euler rotation vector (X|Y|Z).
Pivot Point is a pipe-bar delimited list representing the pivot point vector (X|Y|Z).
Rule | Result |
---|---|
VectorRotateAroundPoint("1|2|3","3|2|1","4|3|2") | Will return the vector 1.09|1.84|3.09 (values have been rounded for clarity). |
Due to floating point precision, some calculations may not be as precise as expected.
This can be avoided by following the advice in the topic Info: Floating Point Precision.