Effect.setOffsetRotation

Offsets the orientation of the effect relatively to the host.

Kind: Function

Environments: Game

Game

effect:setOffsetRotation( offsetRotation )

Open the full Game reference

Availability: Client only

Note: Does not work if the effect was created without a host.

Parameters:

Name Type Description
effect Effect The effect.
offsetRotation Quat The relative offset rotation.