Package com.github.stephengold.joltjni
Class RayCastBodyCollector
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.RayCastBodyCollector
- All Implemented Interfaces:
ConstJoltPhysicsObject
,AutoCloseable
,Comparable<JoltPhysicsObject>
- Direct Known Subclasses:
AllHitRayCastBodyCollector
,CustomRayCastBodyCollector
Collect results from a broad-phase raycast. (native type:
CollisionCollector<BroadPhaseCastResult,CollisionCollectorTraitsCastShape>
)-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Force collision detection to terminate.abstract void
reset()
Reset the collector so it can be reused.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Method Details
-
reset
public abstract void reset()Reset the collector so it can be reused. -
forceEarlyOut
protected void forceEarlyOut()Force collision detection to terminate.
-