All Superinterfaces:
Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
Vertex

public interface ConstVertex extends ConstJoltPhysicsObject
Read-only access to a Vertex. (native type: const SoftBodySharedSettings::Vertex)
  • Method Details

    • getInvMass

      float getInvMass()
      Return the inverse mass. The vertex is unaffected.
      Returns:
      the inverse of the mass (in 1/kilograms)
    • getPosition

      Float3 getPosition()
      Copy the initial location. The vertex is unaffected.
      Returns:
      a new location vector
    • getVelocity

      Float3 getVelocity()
      Copy the initial velocity. The vertex is unaffected.
      Returns:
      a new velocity vector (in meters per second)