From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/classRaycastCCDManager.html | 188 +++++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/classRaycastCCDManager.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classRaycastCCDManager.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classRaycastCCDManager.html b/PhysX_3.4/Documentation/PhysXAPI/files/classRaycastCCDManager.html new file mode 100644 index 00000000..8bd83c5e --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classRaycastCCDManager.html @@ -0,0 +1,188 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: RaycastCCDManager Class Reference + + + + + + + +
+

RaycastCCDManager Class Reference
+ +[Extensions] +

Raycast-CCD manager. +More... +

+#include <PxRaycastCCD.h> +

+ +

+List of all members. + + + + + + + + + + + + + + + +

Public Member Functions

 RaycastCCDManager (PxScene *scene)
 ~RaycastCCDManager ()
bool registerRaycastCCDObject (PxRigidDynamic *actor, PxShape *shape)
 Register dynamic object for raycast CCD.
void doRaycastCCD (bool doDynamicDynamicCCD)
 Perform raycast CCD. Call this after your simulate/fetchResults calls.

Private Attributes

RaycastCCDManagerInternal * mImpl
+


Detailed Description

+Raycast-CCD manager. +

+Raycast-CCD is a simple and potentially cheaper alternative to the SDK's built-in continuous collision detection algorithm.

+This implementation has some limitations:

+

+Also, since it is raycast-based, the solution is not perfect. In particular:

+

+Finally, since it is using the SDK's scene queries under the hood, it only works provided the simulation shapes also have scene-query shapes associated with them. That is, if the objects in the scene only use PxShapeFlag::eSIMULATION_SHAPE (and no PxShapeFlag::eSCENE_QUERY_SHAPE), then the raycast-CCD system will not work.


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
RaycastCCDManager::RaycastCCDManager (PxScene scene  ) 
+
+
+ +

+ +

+

+ +

+
+ + + + + + + + +
RaycastCCDManager::~RaycastCCDManager (  ) 
+
+
+ +

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
void RaycastCCDManager::doRaycastCCD (bool  doDynamicDynamicCCD  ) 
+
+
+ +

+Perform raycast CCD. Call this after your simulate/fetchResults calls. +

+

Parameters:
+ + +
[in] doDynamicDynamicCCD True to enable dynamic-vs-dynamic CCD (more expensive, not always needed)
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
bool RaycastCCDManager::registerRaycastCCDObject (PxRigidDynamic actor,
PxShape shape 
)
+
+
+ +

+Register dynamic object for raycast CCD. +

+

Parameters:
+ + + +
[in] actor object's actor
[in] shape object's shape
+
+
Returns:
True if success
+ +
+

+


Member Data Documentation

+ +
+
+ + + + +
RaycastCCDManagerInternal* RaycastCCDManager::mImpl [private]
+
+
+ +

+ +

+

+


The documentation for this class was generated from the following file: +
+ +

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