Main Page
Class Hierarchy
Compound List
Compound Members
Include
vehicle
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
;
28
class
PxSerializationRegistry
;
29
43
PX_C_EXPORT
bool
PX_CALL_CONV
PxInitVehicleSDK
(
PxPhysics
& physics,
PxSerializationRegistry
* serializationRegistry =
NULL
);
44
45
58
PX_C_EXPORT
void
PX_CALL_CONV
PxCloseVehicleSDK
(
PxSerializationRegistry
* serializationRegistry =
NULL
);
59
60
64
#define PX_MAX_NB_WHEELS (20)
65
66
72
#define PX_DEBUG_VEHICLE_ON (1)
73
74
78
struct
PxVehicleTypes
79
{
80
enum
Enum
81
{
82
eDRIVE4W=0,
83
eDRIVENW
,
84
eDRIVETANK
,
85
eNODRIVE
,
86
eUSER1
,
87
eUSER2
,
88
eUSER3
,
89
eMAX_NB_VEHICLE_TYPES
90
};
91
};
92
93
99
struct
PxVehicleConcreteType
100
{
101
enum
Enum
102
{
103
eVehicleNoDrive =
PxConcreteType::eFIRST_VEHICLE_EXTENSION
,
104
eVehicleDrive4W
,
105
eVehicleDriveNW
,
106
eVehicleDriveTank
107
};
108
};
109
110
118
void
PxVehicleSetBasisVectors
(
const
PxVec3
& up,
const
PxVec3
& forward);
119
120
124
struct
PxVehicleUpdateMode
125
{
126
enum
Enum
127
{
128
eVELOCITY_CHANGE
,
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