java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehiclePhysXActor
A description of the PhysX actor and shapes that represent the vehicle in an associated PxScene.
-
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 PxVehiclePhysXActorarrayGet(long baseAddress, int index) voiddestroy()The PhysX rigid body that represents the vehcle in the associated PhysX scene.getWheelShapes(int index) voidsetRigidBody(PxRigidBody value) The PhysX rigid body that represents the vehcle in the associated PhysX scene.voidvoidsetWheelShapes(int index, PxShape value) static PxVehiclePhysXActorwrapPointer(long address) Methods 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
-
PxVehiclePhysXActor
protected PxVehiclePhysXActor() -
PxVehiclePhysXActor
protected PxVehiclePhysXActor(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getRigidBody
The PhysX rigid body that represents the vehcle in the associated PhysX scene. Note: PxActorFlag::eDISABLE_GRAVITY must be set true on the PxRigidBody -
setRigidBody
The PhysX rigid body that represents the vehcle in the associated PhysX scene. Note: PxActorFlag::eDISABLE_GRAVITY must be set true on the PxRigidBody -
getWheelShapes
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxShape
-
setWheelShapes
- Parameters:
index- Array indexvalue- WebIDL type:PxShape
-
setToDefault
public void setToDefault()
-