PhysxParticleSystem

Physx particle system manager node.

Installation

To use this Node, you must enable omni.particle.system.core2 in the Extension Manager.

Inputs

Name

Type

Description

Default

operators

bundle

Input operators to use in this system.

active

bool

Activate operator stack processing.

True

maxparticles

int

Maximum particles to maintain.

100

samplingRate

float

If less than one, 1/samplingRate prescribes the number of substeps taken per frame; If greater than one, the whole number component of samplingRate prescribes how many frames run between simulation steps.

1.0

playbackMode

int

0 – local playback; simulate independent of timeline 1 – Timeline playback; simulate based on global timeline

0

localPlaybackState

int

0 – Playing 1 – Paused 2 – Stopped

0

localPlaybackPeriod

float

Duraction of playback period when in local playback mode

4.0

playbackStartTime

float

The start time of the simulation in playback mode.

0.0

playbackEndTime

float

The end time of the simulation when in playback mode. (Negative value indicates endless evaluation.)

-1.0

seed

uint

Seed for random number generation. Keep in mind that determinism shouldn’t be expected for varaiable dt, ie in non-playback mode.

123

exportAttributes

token

Comma delimited list of particle attributes to export from the simulation.

position,velocity,aim

onDeathEvent

bool

Populate onDeath export with particle payloads that have been deleted on current frame.

False

onBirthEvent

bool

Populate onBirth export with particle payloads that have been emitted on current frame.

False

onMoveEvent

bool

Populate onMove export with particle payloads that have changed position on current frame.

False

onCollideEvent

bool

Populate onCollide export with particle payloads that have experienced collision on current frame.

False

deferSync

bool

Wait until the beginning of the next frame to fetch physx results, instead of syncing them immediately.

False

Outputs

Name

Type

Description

Default

onDeath

bundle

Particles that have been deleted in this frame. Activate on death event flag to populate.

onBirth

bundle

Particles that have been emitted in this frame. Activate on birth event flag to populate.

onMove

bundle

Particles that have been chnaged position in this frame. Activate on move event flag to populate.

onCollide

bundle

Particles that have experienced collision in this frame. Activate on collide event flag to populate.

exports

bundle

particle exports