Skip to content

VfxPhysicsAccelerationModifier

15.23

Class Documentation

Edit documentation

A physics modifier that accelerates the particles. It holds two independent accelerations: a local one in the axes of the particle's reference frame and a world one that keeps its world direction. On each step, before the integration, each acceleration is Initial * Keyed and is added to the step's acceleration. Units are world units per second squared.

The position-based model applies the step's acceleration as a * dt^2 to the position and a * dt to the velocity, so the particle keeps the speed it gains. See VfxModularPhysicsComponent.

Properties

InitialLocalAcceleration

Embed<VfxVector3DynamicProperty> = { "Vector3": {} }
15.24
Edit documentation

Local acceleration, evaluated once per particle at spawn. If this driver is null, the local pair does nothing.

InitialWorldAcceleration

Embed<VfxVector3DynamicProperty> = { "Vector3": {} }
15.24
Edit documentation

World acceleration, evaluated once per particle at spawn. A constant (0, -g, 0) here is gravity. If this driver is null, the world pair does nothing.