Definition: SoftBodyVertex.h:16
void ResetCollision()
Reset collision information to prepare for a new collision check.
Definition: SoftBodyVertex.h:19
Vec3 mPreviousPosition
Internal use only. Position at the previous time step.
Definition: SoftBodyVertex.h:26
float mInvMass
Inverse mass (1 / mass)
Definition: SoftBodyVertex.h:33
Vec3 mVelocity
Velocity, relative to the center of mass of the soft body.
Definition: SoftBodyVertex.h:28
bool mHasContact
True if the vertex has collided with anything in the last update.
Definition: SoftBodyVertex.h:31
float mLargestPenetration
Internal use only. Used while finding the collision plane, stores the largest penetration found so fa...
Definition: SoftBodyVertex.h:32
int mCollidingShapeIndex
Internal use only. Index in the colliding shapes list of the body we may collide with.
Definition: SoftBodyVertex.h:30
Plane mCollisionPlane
Internal use only. Nearest collision plane, relative to the center of mass of the soft body.
Definition: SoftBodyVertex.h:29
Vec3 mPosition
Position, relative to the center of mass of the soft body.
Definition: SoftBodyVertex.h:27