PxVehicleSDK.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_VEHICLE_SDK_H
14 #define PX_VEHICLE_SDK_H
15 
19 #include "foundation/Px.h"
20 #include "common/PxTypeInfo.h"
21 
22 #ifndef PX_DOXYGEN
23 namespace physx
24 {
25 #endif
26 
27 class PxPhysics;
29 
43 PX_C_EXPORT bool PX_CALL_CONV PxInitVehicleSDK(PxPhysics& physics, PxSerializationRegistry* serializationRegistry = NULL);
44 
45 
59 
60 
64 #define PX_MAX_NB_WHEELS (20)
65 
66 
72 #define PX_DEBUG_VEHICLE_ON (1)
73 
74 
79 {
80  enum Enum
81  {
82  eDRIVE4W=0,
89  eMAX_NB_VEHICLE_TYPES
90  };
91 };
92 
93 
100 {
101  enum Enum
102  {
106  eVehicleDriveTank
107  };
108 };
109 
110 
118 void PxVehicleSetBasisVectors(const PxVec3& up, const PxVec3& forward);
119 
120 
125 {
126  enum Enum
127  {
129  eACCELERATION
130  };
131 };
132 
133 
145 void PxVehicleSetUpdateMode(PxVehicleUpdateMode::Enum vehicleUpdateMode);
146 
147 #ifndef PX_DOXYGEN
148 } // namespace physx
149 #endif
150 
152 #endif //PX_VEHICLE_SDK_H


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