Skip to content

VfxPhysicsVelocityModifier

15.23

Class Documentation

Edit documentation

A physics modifier that moves the particles at a velocity. On each step, before the integration, the velocity is the sum of three parts:

  • local: InitialLocalVelocity * KeyedLocalVelocity, in the axes of the particle's reference frame;
  • world: InitialWorldVelocity * KeyedWorldVelocity, which keeps its world direction;
  • radial: InitialRadialVelocity along the radial direction (see RadialOriginOffset).

The particle is moved by velocity * dt as a displacement. This velocity is not added to the particle's own velocity, so it stops acting when its keyed value drops to zero, and accelerations do not add to it. Units are world units per second.

Drag. With a VfxPhysicsDragModifier in the list, the drag takes away part of this velocity on every step: a fraction drag * dt, clamped to [0, 1], of what is left is absorbed and stays absorbed. The particle slows down even when the keyed values stay constant.

Properties

0xa216ab25

Flag = false
Removed in 15.24
Add documentation

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

0xf65597d8

Flag = false
Removed in 15.24
Add documentation

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

0xfd3fee0f

Flag = false
Removed in 15.24
Add documentation

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

RadialOriginOffset

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

The point that the radial direction points away from, in the particle's reference frame. The direction depends on whether the particle has an emission normal from a VfxPhysicsPositionModifier with an EmissionSource:

Emission normal RadialOriginOffset Radial direction
no unset From the frame origin to the particle.
no set From this point to the particle.
yes unset The emission normal.
yes set From this point to the particle's emission point. If the two coincide, the emission normal.