Method RotateAround
RotateAround(RideVector3, RideVector3, Single)
Rotates the transform about axis passing through point in world coordinates by angle degrees. This modifies both the position and the rotation of the transform.
Declaration
void RotateAround(RideVector3 point, RideVector3 axis, float angle)
Parameters
Type | Name | Description |
---|---|---|
RideVector3 | point | |
RideVector3 | axis | |
System.Single | angle |