Package jolt.physics.body
Interface Body
- All Superinterfaces:
JoltNative
- All Known Subinterfaces:
MutableBody
Body relies on preview features of the Java platform:
Bodyrefers to one or more preview APIs:MemoryAddress.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Bodyat(MemoryAddressPREVIEW addr) booleanstatic MutableBodyvoidgetAccumulatedForce(FVec3 out) voidbooleanvoidgetAngularVelocity(FVec3 out) voidbytevoidvoidvoidvoidfloatintgetId()voidvoidvoidgetInverseInertia(FMat44 out) voidgetLinearVelocity(FVec3 out) shortvoidgetPointVelocity(DVec3 point, FVec3 out) voidgetPointVelocity(FVec3 point, FVec3 out) voidgetPointVelocityCOM(FVec3 pointRelativeToCOM, FVec3 out) voidgetPosition(DVec3 out) voidgetPosition(FVec3 out) floatvoidgetRotation(Quat out) getShape()voidbooleanbooleanlongvoidgetWorldSpaceSurfaceNormal(int subShapeId, DVec3 position, FVec3 out) voidgetWorldSpaceSurfaceNormal(int subShapeId, FVec3 position, FVec3 out) voidgetWorldTransform(DMat44 out) voidgetWorldTransform(FMat44 out) booleanisActive()booleanbooleanbooleanbooleanbooleanisSensor()booleanisStatic()Methods inherited from interface jolt.JoltNative
address
-
Method Details
-
at
-
fixedToWorld
-
getId
int getId() -
isActive
boolean isActive() -
isStatic
boolean isStatic() -
isKinematic
boolean isKinematic() -
isDynamic
boolean isDynamic() -
canBeKinematicOrDynamic
boolean canBeKinematicOrDynamic() -
isSensor
boolean isSensor() -
getUseManifoldReduction
boolean getUseManifoldReduction() -
getUseManifoldReductionWithBody
-
getMotionType
MotionType getMotionType() -
getBroadPhaseLayer
byte getBroadPhaseLayer() -
getObjectLayer
short getObjectLayer() -
getAllowSleeping
boolean getAllowSleeping() -
getFriction
float getFriction() -
getRestitution
float getRestitution() -
getLinearVelocity
-
getAngularVelocity
-
getPointVelocityCOM
-
getPointVelocity
-
getPointVelocity
-
getAccumulatedForce
-
getAccumulatedTorque
-
getInverseInertia
-
isInBroadPhase
boolean isInBroadPhase() -
isCollisionCacheInvalid
boolean isCollisionCacheInvalid() -
getShape
Shape getShape() -
getPosition
-
getPosition
-
getRotation
-
getWorldTransform
-
getWorldTransform
-
getCenterOfMassPosition
-
getCenterOfMassPosition
-
getCenterOfMassTransform
-
getCenterOfMassTransform
-
getInverseCenterOfMassTransform
-
getInverseCenterOfMassTransform
-
getMotionProperties
MotionProperties getMotionProperties() -
getUserData
long getUserData() -
getWorldSpaceSurfaceNormal
-
getWorldSpaceSurfaceNormal
-
getTransformedShape
-
getBodyCreationSettings
-
Bodywhen preview features are enabled.