PhysX SDK 3.2 API Reference: PxRigidStatic Class Reference

PhysX SDK 3.2 API

PxRigidStatic Class Reference
[Physics]

PxRigidStatic represents a static rigid body simulation object in the physics SDK. More...

#include <PxRigidStatic.h>

Inheritance diagram for PxRigidStatic:
Collaboration diagram for PxRigidStatic:

List of all members.


Public Member Functions

virtual void release ()=0
 Deletes the static rigid body.
virtual const char * getConcreteTypeName () const
 returns string name of dynamic type.

Protected Member Functions

 PxRigidStatic (PxRefResolver &v)
PX_INLINE PxRigidStatic ()
virtual ~PxRigidStatic ()
virtual bool isKindOf (const char *name) const

Detailed Description

PxRigidStatic represents a static rigid body simulation object in the physics SDK.

PxRigidStatic objects are static rigid physics entities. They shall be used to define solid objects which are fixed in the world.

Creation

Instances of this class are created by calling PxPhysics::createRigidStatic() and deleted with release().

Visualizations

See also:
PxRigidActor PxPhysics.createRigidStatic release()

Constructor & Destructor Documentation

PxRigidStatic::PxRigidStatic ( PxRefResolver v  )  [inline, protected]

PX_INLINE PxRigidStatic::PxRigidStatic (  )  [inline, protected]

virtual PxRigidStatic::~PxRigidStatic (  )  [inline, protected, virtual]


Member Function Documentation

virtual const char* PxRigidStatic::getConcreteTypeName (  )  const [inline, virtual]

returns string name of dynamic type.

Returns:
class name of most derived type of this object.

Reimplemented from PxSerializable.

virtual bool PxRigidStatic::isKindOf ( const char *  name  )  const [inline, protected, virtual]

Reimplemented from PxRigidActor.

References PxRigidActor::isKindOf().

virtual void PxRigidStatic::release (  )  [pure virtual]

Deletes the static rigid body.

Note: deleting a static rigid body will not wake up any sleeping objects that were sitting on it. Use a kinematic rigid body instead to get this behavior.

Calls PxRigidActor::release() so you might want to check the documentation of that method as well.

See also:
PxPhysics::createRigidStatic() PxScene::createRigidStatic() PxRigidActor::release()

Implements PxRigidActor.


The documentation for this class 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