PhysX SDK 3.2 API Reference: PxRigidDynamicFlag Struct Reference

PhysX SDK 3.2 API

PxRigidDynamicFlag Struct Reference
[Physics]

Collection of flags describing the behavior of a dynamic rigid body. More...

#include <PxRigidDynamic.h>

List of all members.


Public Types

enum  Enum { eKINEMATIC = (1<<0) }

Detailed Description

Collection of flags describing the behavior of a dynamic rigid body.

See also:
PxRigidDynamic.setRigidDynamicFlag(), PxRigidDynamic.getRigidDynamicFlags()

Member Enumeration Documentation

Enumerator:
eKINEMATIC  Enables kinematic mode for the actor.

Kinematic actors are special dynamic actors that are not influenced by forces (such as gravity), and have no momentum. They are considered to have infinite mass and can be moved around the world using the setKinematicTarget() method. They will push regular dynamic actors out of the way. Kinematics will not collide with static or other kinematic objects.

Kinematic actors are great for moving platforms or characters, where direct motion control is desired.

You can not connect Reduced joints to kinematic actors. Lagrange joints work ok if the platform is moving with a relatively low, uniform velocity.

See also:
PxRigidDynamic.setKinematicTarget() Enable kinematic mode for the body.


The documentation for this struct was generated from the following file:



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com