Skip to content

Mojo3d entity ext rotate ext

mojo3d:mojo3d.Entity.Rotate

Method Rotate:Void( rv:std.geom.Vec3f,localSpace:Bool=false )#
Method Rotate:Void( rx:Float,ry:Float,rz:Float,localSpace:Bool=false )#

Rotates the entity.

Rotates the entity.

If localSpace is false, the rotation is applied after the entity's world rotation.

If localSpace is true, the rotation is applied before the entity's local rotation.