Verlet Particle

Like what your seeing?

Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!

Introduction

Used by the Verlet Hierarch object. This represents a particle in a Verlet Integration system. Typically you would never need to access or use this object where it is only used internally by various Verlet based tools and components.

Fields and Attributes

TypeNameComment

Transform

target

The Unity Transform this particle drives

VerletParticle

parent

The parent particle if any

float

damping

The applied damping effect

float

elasticity

The applied elasticity effect

float

stiffness

The applied stiffness effect

float

inert

The applied inert effect

float

falloffAngle

The applied falloff angle

float

collisionRadius

The applied collision radius

float

distance

The distance from root

Vector3

addedForce

The force added since last frame

float

weight

The relative distance from root 0 == root, 1 = end of hierarchy

Vector3

position

The current simulated position (world)

Vector3

prevPosition

The previous simulated position (world)

Vector3

initLocalPosition

The initial local position (local)

Quaternion

initLocalRotation

The initial local rotation (local)

Last updated