Definition: SoftBodyVertex.h:16
Vec3 mPreviousPosition
Position at the previous time step.
Definition: SoftBodyVertex.h:18
float mInvMass
Inverse mass (1 / mass)
Definition: SoftBodyVertex.h:25
Vec3 mVelocity
Velocity, relative to the center of mass of the soft body.
Definition: SoftBodyVertex.h:20
bool mHasContact
True if the vertex has collided with anything in the last update.
Definition: SoftBodyVertex.h:23
float mLargestPenetration
Used while finding the collision plane, stores the largest penetration found so far.
Definition: SoftBodyVertex.h:24
int mCollidingShapeIndex
Index in the colliding shapes list of the body we may collide with.
Definition: SoftBodyVertex.h:22
Plane mCollisionPlane
Nearest collision plane, relative to the center of mass of the soft body.
Definition: SoftBodyVertex.h:21
Vec3 mPosition
Position, relative to the center of mass of the soft body.
Definition: SoftBodyVertex.h:19