PxParticleSpring

Defined in include/PxParticleBuffer.h

struct PxParticleSpring

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

Used for particle cloth simulation.

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.