Particle set#

Query target: PARTICLE_SET. These are static capabilities; the live session decides which objects and operations are available. See session semantics and write behavior.

Shapes describe tensor dimensions; lanes describe the tuple width, not an extra dimension. Ordering is row-major unless stated otherwise. CPU means host memory; scene device means CPU on CPU/readback scenes or CUDA on DirectGPU; CUDA requires CUDA. Symbolic sizes come from the live group.

Attribute

Access

Meaning

physxPointer

read

Borrowed native PhysX address for this query target; no ownership transfer.

points

read/write

particle positions

velocities

read/write

particle velocities

physxPointer#

u64; units: not applicable.

Access

Layout

Memory

Read

fixed, shape [objects], 1 lanes

CPU

Read: requires Native pointer.

points#

f32; units: distance; frame: particle-set-prim-local; semantic: point.

Access

Layout

Memory

Read

array, shape [elements], 3 lanes

scene device

Write

array, shape [elements], 3 lanes

CPU

Read: also accepts positions; requires DirectGPU warmup.

Write: requires DirectGPU warmup.

Sets simulation state; then evolves with simulation. Visibility: staging at commit device at next step. Preserves: inverse_mass.

Catalog aliases: positions (request aliases are listed separately).

velocities#

f32; units: distance / sec; frame: world; semantic: vector.

Access

Layout

Memory

Read

array, shape [elements], 3 lanes

scene device

Write

array, shape [elements], 3 lanes

CPU

Read: requires DirectGPU warmup.

Write: requires DirectGPU warmup.

Sets simulation state; then evolves with simulation. Visibility: staging at commit device at next step. Preserves: inverse_mass.

Conditions#

DirectGPU warmup#

Device-backed DirectGPU state requires a completed first step; a write never warms the simulation automatically.

Native pointer#

Borrowed native address, valid only while the object remains alive. Does not confer ownership or bypass runtime synchronization. Structural changes (adding, removing or re-inserting objects, moving them between scenes, attaching or detaching shapes) through a native PhysX pointer are not recommended: after one, ovphysx reads and writes are not guaranteed to work until the stage is re-attached.