Interface ConstSoftBodyContactSettings

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

public interface ConstSoftBodyContactSettings extends ConstJoltPhysicsObject
Read-only access to a SoftBodyContactSettings object. (native type: const SoftBodyContactSettings)
  • Method Details

    • getInvInertiaScale2

      float getInvInertiaScale2()
      Return the scale factor for the inverse inertia of body 2. The settings are unaffected.
      Returns:
      the factor (0 = infinite inertia, 1 = use original inertia)
    • getInvMassScale1

      float getInvMassScale1()
      Return the scale factor for the inverse mass of the soft body. The settings are unaffected.
      Returns:
      the factor (0 = infinite mass, 1 = use original mass)
    • getInvMassScale2

      float getInvMassScale2()
      Return the scale factor for the inverse mass of body 2. The settings are unaffected.
      Returns:
      the factor (0 = infinite mass, 1 = use original mass)
    • getIsSensor

      boolean getIsSensor()
      Test whether the contact should be treated as a sensor (no collision response). The settings are unaffected.
      Returns:
      true if treated as a sensor, otherwise false