RotateVector3D


Rotates a 3D vector around another 3D vector (the axis).

Syntax

C++
C#
Python
 
def RotateVector3D(
	inVector3D: Vector3D,
	inAxisVector: Vector3D,
	inAngle: float,
	/,
	*,
	inInverse: bool = False
)
-> outVector3D: Vector3D

Parameters

Name Type Default Description
Input value inVector3D Vector3D
Input value inAxisVector Vector3D Vector to rotate around
Input value inAngle float Clockwise angle of rotation
Input value inInverse bool False Switches to the inverse operation
Output value outVector3D Vector3D