Class RShapeCast

java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.RShapeCast
All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<ConstJoltPhysicsObject>

public class RShapeCast extends JoltPhysicsObject
A shape cast with an RVec3 start location.
  • Constructor Details

    • RShapeCast

      public RShapeCast(ConstShape shape, Vec3Arg scale, RMat44Arg comStart, Vec3Arg offset, ConstAaBox wsBounds)
      Instantiate a shape cast with the specified parameters.
      Parameters:
      shape - the shape to use (not null, unaffected)
      scale - the scale vector to use (not null, unaffected)
      comStart - the desired start position (not null, unaffected)
      offset - the desired end offset from the start (not null, unaffected)
      wsBounds - the world-space bounds to use (not null, unaffected)