Class VehicleCollisionTesterCastCylinder

All Implemented Interfaces:
ConstJoltPhysicsObject, RefTarget, AutoCloseable, Comparable<JoltPhysicsObject>

public class VehicleCollisionTesterCastCylinder extends VehicleCollisionTester
A VehicleCollisionTester that casts a cylindrical shape.
  • Constructor Details

    • VehicleCollisionTesterCastCylinder

      public VehicleCollisionTesterCastCylinder(int objectLayer)
      Instantiate a tester for the specified layer.
      Parameters:
      objectLayer - the index of the desired object layer for collisions (≥0)
    • VehicleCollisionTesterCastCylinder

      public VehicleCollisionTesterCastCylinder(int objectLayer, float convexRadiusFraction)
      Instantiate a tester with the specified properties.
      Parameters:
      objectLayer - the index of the desired object layer for collisions (≥0)
      convexRadiusFraction - (default=0.1)
  • Method Details