Click or drag to resize

MathHelperRotateAround Method (Vector3, Vector3, Vector3)

Returns the point when a vector is rotated around another one.

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static Vector3 RotateAround(
	Vector3 point,
	Vector3 pivot,
	Vector3 angle
)
Request Example View Source

Parameters

point
Type: Vector3
The point to rotate.
pivot
Type: Vector3
The pivot to rotate around.
angle
Type: Vector3
The angle to rotate.

Return Value

Type: Vector3
See Also