Effect.setVelocity

Sets the velocity of an effect. The effect will move along at the set velocity until it receives a new position.

Kind: Function

Environments: Game

Game

effect:setVelocity( velocity )

Open the full Game reference

Availability: Client only

Note: Does not work if the effect has a host.

Parameters:

Name Type Description
effect Effect The effect.
velocity Vec3 The velocity.