Interface ConstVehicleCollisionTester

All Superinterfaces:
AutoCloseable, Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
VehicleCollisionTester, VehicleCollisionTesterCastCylinder, VehicleCollisionTesterCastSphere, VehicleCollisionTesterRay

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

    • getBodyFilter

      BodyFilter getBodyFilter()
      Access the body filter. The tester is unaffected.
      Returns:
      a new JVM object with the pre-existing native object assigned, or null if none
    • getBroadPhaseLayerFilter

      BroadPhaseLayerFilter getBroadPhaseLayerFilter()
      Access the broadphase-layer filter. The tester is unaffected.
      Returns:
      a new JVM object with the pre-existing native object assigned, or null if none
    • getObjectLayer

      int getObjectLayer()
      Return the object layer used for collision detection when no filters are overridden. The tester is unaffected.
      Returns:
      the index of the layer
    • getObjectLayerFilter

      ObjectLayerFilter getObjectLayerFilter()
      Access the object-layer filter. The tester is unaffected.
      Returns:
      a new JVM object with the pre-existing native object assigned, or null if none