Contents

velocity

The initial velocity vector of the particle in world space units per second.

Declaration

var velocity: SIMD3<Float> { get set }

Discussion

This determines the particle’s initial direction and speed of movement. The magnitude of the vector represents the speed, while the direction represents the movement direction. A zero velocity means the particle starts stationary.