FixObjectPivot

Description

Resets the object's position and rotation to 0 whilst keeping the object's vertices where they are. This can be used to change the center of rotation of an object or adjust its default orientation when it's rotation is 0. This command modifies the vertices of the object's meshes so is not recommended to call this every frame, unless the target platform is quite powerful i.e. Windows or Mac.

Definition

FixObjectPivot( objID )

Parameters