Skip to content

novaphy.ParticleContact

ParticleContact is not part of the current public Python API.

Particle / soft-point contacts against rigid shapes are stored in the soft_contact_* columns on Contacts. Active entries occupy 0:contacts.soft_count().

Current field Description
soft_contact_particle Particle or vertex index.
soft_contact_shape Rigid collider shape index.
soft_contact_body_pos Body-frame contact position on the rigid shape.
soft_contact_body_vel Body-frame surface-velocity slot; current collision writers populate it with zero.
soft_contact_normal World normal from the rigid shape toward the particle / soft point.

The helpers apply_particle_coupling_contacts and apply_particle_contact_reactions consume this channel.

See Also