Package com.github.stephengold.joltjni
Class VehicleController
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.VehicleController
- All Implemented Interfaces:
ConstJoltPhysicsObject
,AutoCloseable
,Comparable<JoltPhysicsObject>
- Direct Known Subclasses:
TrackedVehicleController
,WheeledVehicleController
Control the acceleration and deceleration of a vehicle.
-
Method Summary
Modifier and TypeMethodDescriptionAccess the underlying constraint.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Method Details
-
getConstraint
Access the underlying constraint.- Returns:
- the pre-existing object or
null
-