PxParticleSpring

Defined in include/PxParticleBuffer.h

struct PxParticleSpring

Holds all the information for a spring constraint between two particles.

Used for particle cloth simulation.

Deprecated:

Particle-cloth, -rigids, -attachments and -volumes have been deprecated.

Public Members

PxU32 ind0

particle index of first particle

PxU32 ind1

particle index of second particle

PxReal length

spring length

PxReal stiffness

spring stiffness

PxReal damping

spring damping factor

PxReal pad

padding bytes.