Collider:setOrientation

Sets the orientation of the Collider in angle/axis representation.

Collider:setOrientation(angle, ax, ay, az)

Arguments

NameTypeDescription
anglenumberThe number of radians the Collider is rotated around its axis of rotation.
axnumberThe x component of the axis of rotation.
aynumberThe y component of the axis of rotation.
aznumberThe z component of the axis of rotation.

Returns

Nothing

See also