Shape:setOrientation

Set the orientation of the Shape relative to its Collider.

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

Arguments

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

Returns

Nothing

See also