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<ConstJoltPhysicsObject>
- Direct Known Subclasses:
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, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, startCleaner, toString, va
-
Method Details
-
getConstraint
Access the underlying constraint.- Returns:
- the pre-existing object (not null)
-