Skip to content

VfxPhysicsPositionModifier

15.23

Class Documentation

Edit documentation

A physics modifier that offsets the particles' position. It places them at spawn and can move them by an animated offset afterwards.

  • Spawn. The birth offset is InitialLocalOffset, plus InitialWorldOffset, plus a point sampled from EmissionSource. It is added to the particle's position.
  • Each step, before the integration. LocalKeyedOffset and WorldKeyedOffset are evaluated, and the particle is moved by how much each value changed since the previous step. The particle therefore sits at the keyed offset from where its other motion takes it. On the first step the full value is applied.

All offsets are in world units. The movement is a displacement, so it gives the particle no momentum.

Properties

0x1fd12444

Flag = false
Removed in 15.24
Add documentation

No documentation available yet. Click "Add documentation" to contribute!

EmissionSource

Pointer<IVfxEmissionSource> = null
16.1
Edit documentation

A shape that each particle's birth point is sampled from, such as a sphere, a box, a mesh or the bound unit's body. The sampled point is added to the birth offset. The shape also gives each particle an emission normal, which VfxPhysicsVelocityModifier uses as the radial direction. See IVfxEmissionSource.

LocalKeyedOffset

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

Animated offset in the axes of the particle's reference frame, evaluated on every step. Only its change between steps moves the particle. Left unset, there is no keyed offset.

WorldKeyedOffset

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

Animated offset that keeps its world direction, evaluated on every step. Only its change between steps moves the particle. Left unset, there is no keyed offset.