BansheePhysX

Description

NVIDIA PhysX implementation of Banshee's physics.

Classes

class  FPhysXCollider
 PhysX implementation of FCollider. More...
 
class  FPhysXJoint
 PhysX implementation of an FJoint. More...
 
class  PhysX
 NVIDIA PhysX implementation of Physics. More...
 
class  PhysXBoxCollider
 PhysX implementation of a BoxCollider. More...
 
class  PhysXCapsuleCollider
 PhysX implementation of a CapsuleCollider. More...
 
class  PhysXCharacterController
 PhysX specific implementation if a CharacterController. More...
 
class  PhysXD6Joint
 PhysX implementation of a D6 joint. More...
 
class  PhysXDistanceJoint
 PhysX implementation of a DistanceJoint. More...
 
class  PhysXFixedJoint
 PhysX implementation of a FixedJoint. More...
 
class  PhysXHingeJoint
 PhysX implementation of a HingeJoint. More...
 
class  PhysXMaterial
 PhysX implementation of a PhysicsMaterial. More...
 
class  PhysXMesh
 PhysX implementation of a PhysicsMesh. More...
 
class  FPhysXMesh
 PhysX implementation of the PhysicsMesh foundation, FPhysicsMesh. More...
 
class  PhysXMeshCollider
 PhysX implementation of a MeshCollider. More...
 
class  PhysXPlaneCollider
 PhysX implementation of the PlaneCollider. More...
 
class  PhysXRigidbody
 PhysX implementation of a Rigidbody. More...
 
class  PhysXSliderJoint
 PhysX implementation of a SliderJoint. More...
 
class  PhysXSphereCollider
 PhysX implementation of a SphereCollider. More...
 
class  PhysXSphericalJoint
 PhysX implementation of a SphericalJoint. More...
 

Typedefs

typedef Flags< PhysXObjectFilterFlag > PhysXObjectFilterFlags
 Flags used on PhysX shape filters. More...
 

Enumerations

enum  TypeID_BansheeEditor {
  TID_ProjectFileMeta = 40000, TID_ProjectLibraryEntries = 40001, TID_ProjectLibraryResEntry = 40002, TID_ProjectLibraryDirEntry = 40003,
  TID_DockManagerLayout = 40004, TID_DockManagerLayoutEntry = 40005, TID_EditorWidgetLayout = 40006, TID_EditorWidgetLayoutEntry = 40007,
  TID_TestComponentA = 40008, TID_TestComponentB = 40009, TID_PlatformInfo = 40010, TID_WinPlatformInfo = 40011,
  TID_BuildData = 40012, TID_TestObjectA = 40013, TID_TestObjectB = 40014, TID_TestComponentC = 40015,
  TID_TestComponentD = 40016, TID_EditorSettings = 40017, TID_RecentProject = 40018, TID_Settings = 40019,
  TID_ProjectSettings = 40020, TID_WindowFrameWidget = 40021, TID_ProjectResourceMeta = 40022, TID_FPhysXMesh = 100000
}
 Type IDs used by the RTTI system for the PhysX library. More...
 
enum  PhysXObjectFilterFlag { NoReport = 1 << 0, ReportBasic = 1 << 1, ReportAll = 1 << 2, CCD = 1 << 3 }
 Flags used on PhysX shape filters. More...
 

Functions

PhysX & gPhysX ()
 Provides easier access to PhysX. More...
 
const physx::PxVec3 & toPxVector (const Vector3 &input)
 Converts a Banshee vector to a PhysX vector. More...
 
const physx::PxVec4 & toPxVector (const Vector4 &input)
 Converts a Banshee vector to a PhysX vector. More...
 
const physx::PxQuat & toPxQuaternion (const Quaternion &input)
 Converts a Banshee quaternion to a PhysX quaternion. More...
 
physx::PxTransform toPxTransform (const Vector3 &pos, const Quaternion &rot)
 Converts a Banshee position/rotation pair to a PhysX transform. More...
 
const Vector3 & fromPxVector (const physx::PxVec3 &input)
 Converts a PhysX vector to a Banshee vector. More...
 
const Vector4 & fromPxVector (const physx::PxVec4 &input)
 Converts a PhysX vector to a Banshee vector. More...
 
const Quaternion & fromPxQuaternion (const physx::PxQuat &input)
 Converts a PhysX quaternion to a Banshee quaternion. More...
 

Typedef Documentation

typedef Flags<PhysXObjectFilterFlag> PhysXObjectFilterFlags

Flags used on PhysX shape filters.

Enumeration Type Documentation

enum PhysXObjectFilterFlag
strong

Flags used on PhysX shape filters.

Enumerator
NoReport 

Don't report collision events.

ReportBasic 

Report start/begin collision events.

ReportAll 

Report start/begin, as well as persistant collision events.

CCD 

Use continous collision detection for this shape.

enum TypeID_BansheeEditor

Type IDs used by the RTTI system for the PhysX library.

Function Documentation

const Quaternion& bs::fromPxQuaternion ( const physx::PxQuat &  input)

Converts a PhysX quaternion to a Banshee quaternion.

const Vector3& bs::fromPxVector ( const physx::PxVec3 &  input)

Converts a PhysX vector to a Banshee vector.

const Vector4& bs::fromPxVector ( const physx::PxVec4 &  input)

Converts a PhysX vector to a Banshee vector.

PhysX& bs::gPhysX ( )

Provides easier access to PhysX.

const physx::PxQuat& bs::toPxQuaternion ( const Quaternion input)

Converts a Banshee quaternion to a PhysX quaternion.

physx::PxTransform bs::toPxTransform ( const Vector3 pos,
const Quaternion rot 
)

Converts a Banshee position/rotation pair to a PhysX transform.

const physx::PxVec3& bs::toPxVector ( const Vector3 input)

Converts a Banshee vector to a PhysX vector.

const physx::PxVec4& bs::toPxVector ( const Vector4 input)

Converts a Banshee vector to a PhysX vector.