Package physx.physics
Class PxRigidActor
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.physics.PxActor
-
- physx.physics.PxRigidActor
-
- Direct Known Subclasses:
PxRigidBody,PxRigidStatic
public class PxRigidActor extends PxActor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxRigidActor()protectedPxRigidActor(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanattachShape(PxShape shape)voiddetachShape(PxShape shape)voiddetachShape(PxShape shape, boolean wakeOnLostTouch)PxTransformgetGlobalPose()intgetNbShapes()voidsetGlobalPose(PxTransform pose)voidsetGlobalPose(PxTransform pose, boolean autowake)static PxRigidActorwrapPointer(long address)-
Methods inherited from class physx.physics.PxActor
getActorFlags, getDominanceGroup, getName, getOwnerClient, getScene, getType, getWorldBounds, getWorldBounds, setActorFlags, setDominanceGroup, setName, setOwnerClient
-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxRigidActor wrapPointer(long address)
-
getGlobalPose
public PxTransform getGlobalPose()
- Returns:
PxTransform[Value]
-
setGlobalPose
public void setGlobalPose(PxTransform pose)
- Parameters:
pose-PxTransform[Const, Ref]
-
setGlobalPose
public void setGlobalPose(PxTransform pose, boolean autowake)
- Parameters:
pose-PxTransform[Const, Ref]autowake- boolean
-
attachShape
public boolean attachShape(PxShape shape)
- Parameters:
shape-PxShape[Ref]- Returns:
- boolean
-
detachShape
public void detachShape(PxShape shape, boolean wakeOnLostTouch)
- Parameters:
shape-PxShape[Ref]wakeOnLostTouch- boolean
-
getNbShapes
public int getNbShapes()
- Returns:
- long
-
-