PxControllerBehavior.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
11 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
12 
13 #ifndef PX_PHYSICS_CCT_BEHAVIOR
14 #define PX_PHYSICS_CCT_BEHAVIOR
15 
19 #include "PxFiltering.h"
21 
22 #ifndef PX_DOXYGEN
23 namespace physx
24 {
25 #endif
26 
27  class PxShape;
28  class PxObstacle;
29  class PxController;
30 
35  {
36  enum Enum
37  {
38  eCCT_CAN_RIDE_ON_OBJECT = (1<<0),
39  eCCT_SLIDE = (1<<1),
40  eCCT_USER_DEFINED_RIDE = (1<<2)
41  };
42  };
43 
51 
52 
58  {
59  public:
60  //*********************************************************************
61  // DEPRECATED FUNCTIONS:
62  //
63  // PX_DEPRECATED virtual PxU32 getBehaviorFlags(const PxShape& shape) = 0;
64  //
65  // => replaced with:
66  //
67  // virtual PxControllerBehaviorFlags getBehaviorFlags(const PxShape& shape, const PxActor& actor) = 0;
68  //
69  // ----------------------------
70  //
71  // PX_DEPRECATED virtual PxU32 getBehaviorFlags(const PxController& controller) = 0;
72  //
73  // => replaced with:
74  //
75  // virtual PxControllerBehaviorFlags getBehaviorFlags(const PxController& controller) = 0;
76  //
77  // ----------------------------
78  //
79  // PX_DEPRECATED virtual PxU32 getBehaviorFlags(const PxObstacle& obstacle) = 0;
80  //
81  // => replaced with:
82  //
83  // virtual PxControllerBehaviorFlags getBehaviorFlags(const PxObstacle& obstacle) = 0;
84  //
85  //*********************************************************************
86 
102  virtual PxControllerBehaviorFlags getBehaviorFlags(const PxShape& shape, const PxActor& actor) = 0;
103 
119  virtual PxControllerBehaviorFlags getBehaviorFlags(const PxController& controller) = 0;
120 
135  virtual PxControllerBehaviorFlags getBehaviorFlags(const PxObstacle& obstacle) = 0;
136 
137  protected:
139  };
140 
141 #ifndef PX_DOXYGEN
142 }
143 #endif
144 
146 #endif


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