java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.physics.PxActor
physx.physics.PxRigidActor
- Direct Known Subclasses:
PxRigidBody,PxRigidStatic
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxRigidActorarrayGet(long baseAddress, int index) booleanattachShape(PxShape shape) voiddetachShape(PxShape shape) voiddetachShape(PxShape shape, boolean wakeOnLostTouch) intintvoidsetGlobalPose(PxTransform pose) voidsetGlobalPose(PxTransform pose, boolean autowake) static PxRigidActorwrapPointer(long address) Methods inherited from class physx.physics.PxActor
getActorFlags, getDominanceGroup, getName, getOwnerClient, getScene, getType, getUserData, getWorldBounds, getWorldBounds, setActorFlag, setActorFlags, setDominanceGroup, setName, setOwnerClient, setUserDataMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxRigidActor
protected PxRigidActor() -
PxRigidActor
protected PxRigidActor(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getGlobalPose
- Returns:
- WebIDL type:
PxTransform[Value]
-
setGlobalPose
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]
-
setGlobalPose
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]autowake- WebIDL type: boolean
-
attachShape
- Parameters:
shape- WebIDL type:PxShape[Ref]- Returns:
- WebIDL type: boolean
-
detachShape
- Parameters:
shape- WebIDL type:PxShape[Ref]
-
detachShape
- Parameters:
shape- WebIDL type:PxShape[Ref]wakeOnLostTouch- WebIDL type: boolean
-
getNbShapes
public int getNbShapes()- Returns:
- WebIDL type: unsigned long
-
getNbConstraints
public int getNbConstraints()- Returns:
- WebIDL type: unsigned long
-