Package com.github.stephengold.joltjni
Class RShapeCast
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.RShapeCast
- All Implemented Interfaces:
ConstJoltPhysicsObject,AutoCloseable,Comparable<ConstJoltPhysicsObject>
A shape cast with an
RVec3 start location.-
Constructor Summary
ConstructorsConstructorDescriptionRShapeCast(ConstShape shape, Vec3Arg scale, RMat44Arg comStart, Vec3Arg offset, ConstAaBox wsBounds) Instantiate a shape cast with the specified parameters. -
Method Summary
Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, startCleaner, toString, va
-
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)
-