aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/PxVehicleUpdate_8h-source.html
blob: f00d860c1892577cd7c065ea311a8a1cdb5fa67d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVehicleUpdate.h Source File</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
	</head>

	<body bgcolor="#FFFFFF">
		<div id="header">
			<hr class="first">
			<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
			<center>
				<a class="qindex" href="main.html">Main Page</a> &nbsp; 
				<a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; 
				<a class="qindex" href="annotated.html">Compound List</a> &nbsp; 
				<a class="qindex" href="functions.html">Compound Members</a> &nbsp;  
			</center>
			<hr class="second">
		</div>
<!-- Generated by Doxygen 1.5.8 -->
<h1>PxVehicleUpdate.h</h1><a href="PxVehicleUpdate_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
<a name="l00002"></a>00002 <span class="comment">// Redistribution and use in source and binary forms, with or without</span>
<a name="l00003"></a>00003 <span class="comment">// modification, are permitted provided that the following conditions</span>
<a name="l00004"></a>00004 <span class="comment">// are met:</span>
<a name="l00005"></a>00005 <span class="comment">//  * Redistributions of source code must retain the above copyright</span>
<a name="l00006"></a>00006 <span class="comment">//    notice, this list of conditions and the following disclaimer.</span>
<a name="l00007"></a>00007 <span class="comment">//  * Redistributions in binary form must reproduce the above copyright</span>
<a name="l00008"></a>00008 <span class="comment">//    notice, this list of conditions and the following disclaimer in the</span>
<a name="l00009"></a>00009 <span class="comment">//    documentation and/or other materials provided with the distribution.</span>
<a name="l00010"></a>00010 <span class="comment">//  * Neither the name of NVIDIA CORPORATION nor the names of its</span>
<a name="l00011"></a>00011 <span class="comment">//    contributors may be used to endorse or promote products derived</span>
<a name="l00012"></a>00012 <span class="comment">//    from this software without specific prior written permission.</span>
<a name="l00013"></a>00013 <span class="comment">//</span>
<a name="l00014"></a>00014 <span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY</span>
<a name="l00015"></a>00015 <span class="comment">// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span>
<a name="l00016"></a>00016 <span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR</span>
<a name="l00017"></a>00017 <span class="comment">// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR</span>
<a name="l00018"></a>00018 <span class="comment">// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span>
<a name="l00019"></a>00019 <span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span>
<a name="l00020"></a>00020 <span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span>
<a name="l00021"></a>00021 <span class="comment">// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY</span>
<a name="l00022"></a>00022 <span class="comment">// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span>
<a name="l00023"></a>00023 <span class="comment">// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span>
<a name="l00024"></a>00024 <span class="comment">// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
<a name="l00025"></a>00025 <span class="comment">//</span>
<a name="l00026"></a>00026 <span class="comment">// Copyright (c) 2008-2018 NVIDIA Corporation. All rights reserved.</span>
<a name="l00027"></a>00027 <span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span>
<a name="l00028"></a>00028 <span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.  </span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="preprocessor">#ifndef PX_VEHICLE_UPDATE_H</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define PX_VEHICLE_UPDATE_H</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="PxVehicleSDK_8h.html">vehicle/PxVehicleSDK.h</a>"</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="PxVehicleTireFriction_8h.html">vehicle/PxVehicleTireFriction.h</a>"</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="PxSimpleTypes_8h.html">foundation/PxSimpleTypes.h</a>"</span>
<a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="PxMemory_8h.html">foundation/PxMemory.h</a>"</span>
<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="PxTransform_8h.html">foundation/PxTransform.h</a>"</span>
<a name="l00041"></a>00041 <span class="preprocessor">#include "<a class="code" href="PxBatchQueryDesc_8h.html">PxBatchQueryDesc.h</a>"</span>
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="keyword">namespace </span>physx
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046 <span class="preprocessor">#endif</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00048"></a>00048     <span class="keyword">class </span><a class="code" href="classPxBatchQuery.html" title="Batched queries object. This is used to perform several queries at the same time...">PxBatchQuery</a>;
<a name="l00049"></a>00049     <span class="keyword">class </span><a class="code" href="classPxContactModifyPair.html" title="An array of instances of this class is passed to PxContactModifyCallback::onContactModify()...">PxContactModifyPair</a>;
<a name="l00050"></a>00050     <span class="keyword">class </span><a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>;
<a name="l00051"></a>00051     <span class="keyword">class </span><a class="code" href="classPxVehicleDrivableSurfaceToTireFrictionPairs.html" title="Friction for each combination of driving surface type and tire type.">PxVehicleDrivableSurfaceToTireFrictionPairs</a>;
<a name="l00052"></a>00052     <span class="keyword">class </span>PxVehicleTelemetryData;
<a name="l00053"></a>00053 
<a name="l00059"></a><a class="code" href="structPxWheelQueryResult.html">00059</a>     <span class="keyword">struct </span><a class="code" href="structPxWheelQueryResult.html" title="Structure containing data describing the non-persistent state of each suspension/wheel/tire...">PxWheelQueryResult</a>
<a name="l00060"></a>00060     {
<a name="l00061"></a><a class="code" href="structPxWheelQueryResult.html#161b38c47540b17befebc36c02c8e996">00061</a>         <a class="code" href="structPxWheelQueryResult.html" title="Structure containing data describing the non-persistent state of each suspension/wheel/tire...">PxWheelQueryResult</a>()
<a name="l00062"></a>00062         {
<a name="l00063"></a>00063             <a class="code" href="group__foundation.html#gfb73e468103692a6e33a2bb86ef78293" title="Sets the bytes of the provided buffer to zero.">PxMemZero</a>(<span class="keyword">this</span>, <span class="keyword">sizeof</span>(<a class="code" href="structPxWheelQueryResult.html" title="Structure containing data describing the non-persistent state of each suspension/wheel/tire...">PxWheelQueryResult</a>));
<a name="l00064"></a>00064             isInAir=<span class="keyword">true</span>;
<a name="l00065"></a>00065             tireSurfaceType = <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a>(<a class="code" href="structPxVehicleDrivableSurfaceType.html#29596afb2720fc7b82bc4da11cbfea2dd2a01ae83fd1798640e6edcd52148307">PxVehicleDrivableSurfaceType::eSURFACE_TYPE_UNKNOWN</a>);
<a name="l00066"></a>00066             localPose = <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>(<a class="code" href="group__foundation.html#gg70160ca5bbafef277790b3e0f12baf3895e14c69af8048aedd218cd6e96ad50f">PxIdentity</a>);
<a name="l00067"></a>00067         }
<a name="l00068"></a>00068 
<a name="l00074"></a><a class="code" href="structPxWheelQueryResult.html#f2bc73597bdc1096034f5f22f2cbde2a">00074</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> suspLineStart;
<a name="l00075"></a>00075 
<a name="l00081"></a><a class="code" href="structPxWheelQueryResult.html#31b6ed853082cacb07e8926dfc0a21b0">00081</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> suspLineDir;
<a name="l00082"></a>00082 
<a name="l00088"></a><a class="code" href="structPxWheelQueryResult.html#c23b4fa451ee4a45350683bcbc0c9b14">00088</a>         <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> suspLineLength;
<a name="l00089"></a>00089 
<a name="l00096"></a><a class="code" href="structPxWheelQueryResult.html#7a21ebf9f8747982774e747a4c096c41">00096</a>         <span class="keywordtype">bool</span> isInAir;
<a name="l00097"></a>00097 
<a name="l00103"></a><a class="code" href="structPxWheelQueryResult.html#c728726399b7e23755086c0a512c308b">00103</a>         <a class="code" href="classPxActor.html" title="PxActor is the base class for the main simulation objects in the physics SDK.">PxActor</a>* tireContactActor;
<a name="l00104"></a>00104 
<a name="l00110"></a><a class="code" href="structPxWheelQueryResult.html#52c57fa129bcf35ccde120c6fe09567e">00110</a>         <a class="code" href="classPxShape.html" title="Abstract class for collision shapes.">PxShape</a>* tireContactShape;
<a name="l00111"></a>00111 
<a name="l00117"></a><a class="code" href="structPxWheelQueryResult.html#ab6dff9c3117e76f1ffaac4c867b2cca">00117</a>         <span class="keyword">const</span> <a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a>* tireSurfaceMaterial;
<a name="l00118"></a>00118 
<a name="l00128"></a><a class="code" href="structPxWheelQueryResult.html#3c95ac8a6cfbdac1f496c193140342e9">00128</a>         <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> tireSurfaceType;
<a name="l00129"></a>00129 
<a name="l00135"></a><a class="code" href="structPxWheelQueryResult.html#265780749830b4cd7b7895eed6133f8a">00135</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> tireContactPoint;
<a name="l00136"></a>00136 
<a name="l00142"></a><a class="code" href="structPxWheelQueryResult.html#8d048db9af70ed06e0575d979093f538">00142</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> tireContactNormal;
<a name="l00143"></a>00143 
<a name="l00152"></a><a class="code" href="structPxWheelQueryResult.html#62c137fe4b995c7a9c3e491bae103180">00152</a>         <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> tireFriction;
<a name="l00153"></a>00153 
<a name="l00162"></a><a class="code" href="structPxWheelQueryResult.html#68a36bfd00e7f38621fca9c415cc7917">00162</a>         <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> suspJounce;
<a name="l00163"></a>00163 
<a name="l00171"></a><a class="code" href="structPxWheelQueryResult.html#eefa0e519260b023b395abd28e5c4f01">00171</a>         <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> suspSpringForce;
<a name="l00172"></a>00172 
<a name="l00179"></a><a class="code" href="structPxWheelQueryResult.html#e9dd6242afb08aebe9895760785facae">00179</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> tireLongitudinalDir;
<a name="l00180"></a>00180 
<a name="l00187"></a><a class="code" href="structPxWheelQueryResult.html#b35c38cb5001bad2c3cc4daab71d3056">00187</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> tireLateralDir;
<a name="l00188"></a>00188 
<a name="l00197"></a><a class="code" href="structPxWheelQueryResult.html#bfdde49461f75cb9e226ed2923d58ce5">00197</a>         <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> longitudinalSlip;
<a name="l00198"></a>00198 
<a name="l00207"></a><a class="code" href="structPxWheelQueryResult.html#dece3d8e6577b7a0d01527a4b24ca432">00207</a>         <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> lateralSlip;
<a name="l00208"></a>00208 
<a name="l00213"></a><a class="code" href="structPxWheelQueryResult.html#3ca0bd3d303270ad52eb2e784d1b72d4">00213</a>         <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> steerAngle;
<a name="l00214"></a>00214 
<a name="l00218"></a><a class="code" href="structPxWheelQueryResult.html#55c818d828141bcb635af224516fc107">00218</a>         <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a> localPose;
<a name="l00219"></a>00219     };
<a name="l00220"></a>00220 
<a name="l00221"></a><a class="code" href="structPxVehicleWheelQueryResult.html">00221</a>     <span class="keyword">struct </span><a class="code" href="structPxVehicleWheelQueryResult.html">PxVehicleWheelQueryResult</a>
<a name="l00222"></a>00222     {
<a name="l00231"></a><a class="code" href="structPxVehicleWheelQueryResult.html#fa382a6fb104e8539622189b5d137366">00231</a>         <a class="code" href="structPxWheelQueryResult.html" title="Structure containing data describing the non-persistent state of each suspension/wheel/tire...">PxWheelQueryResult</a>* wheelQueryResults;
<a name="l00232"></a>00232 
<a name="l00237"></a><a class="code" href="structPxVehicleWheelQueryResult.html#60678dd75d1ef6335324e4e9987e044f">00237</a>         <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbWheelQueryResults;
<a name="l00238"></a>00238     };
<a name="l00239"></a>00239 
<a name="l00246"></a><a class="code" href="structPxVehicleWheelConcurrentUpdateData.html">00246</a>     <span class="keyword">struct </span><a class="code" href="structPxVehicleWheelConcurrentUpdateData.html" title="Structure containing data that is computed for a wheel during concurrent calls to...">PxVehicleWheelConcurrentUpdateData</a>
<a name="l00247"></a>00247     {
<a name="l00248"></a><a class="code" href="structPxVehicleWheelConcurrentUpdateData.html#a960a335429c764ff7e258a0ec3ab5f0">00248</a>         <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate;
<a name="l00249"></a>00249 
<a name="l00250"></a><a class="code" href="structPxVehicleWheelConcurrentUpdateData.html#5d00e2311128d7bb90b0568fa2323a68">00250</a>         <a class="code" href="structPxVehicleWheelConcurrentUpdateData.html" title="Structure containing data that is computed for a wheel during concurrent calls to...">PxVehicleWheelConcurrentUpdateData</a>()
<a name="l00251"></a>00251             : localPose(<a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a>(<a class="code" href="group__foundation.html#gg70160ca5bbafef277790b3e0f12baf3895e14c69af8048aedd218cd6e96ad50f">PxIdentity</a>)),
<a name="l00252"></a>00252               hitActor(NULL),
<a name="l00253"></a>00253               hitActorForce(<a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>(0,0,0)),
<a name="l00254"></a>00254               hitActorForcePosition(<a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>(0,0,0))
<a name="l00255"></a>00255         {
<a name="l00256"></a>00256         }
<a name="l00257"></a>00257 
<a name="l00258"></a>00258     <span class="keyword">private</span>:
<a name="l00259"></a>00259 
<a name="l00260"></a><a class="code" href="structPxVehicleWheelConcurrentUpdateData.html#753e220d1a36eee5813624895d67f2ea">00260</a>         <a class="code" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector">PxTransform</a> localPose;
<a name="l00261"></a><a class="code" href="structPxVehicleWheelConcurrentUpdateData.html#f19fe6231929d3bf23913fd702ac2168">00261</a>         <a class="code" href="classPxRigidDynamic.html" title="PxRigidDynamic represents a dynamic rigid simulation object in the physics SDK.">PxRigidDynamic</a>* hitActor;
<a name="l00262"></a><a class="code" href="structPxVehicleWheelConcurrentUpdateData.html#ad21683c6b23e7199f118be73c208a4c">00262</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> hitActorForce;
<a name="l00263"></a><a class="code" href="structPxVehicleWheelConcurrentUpdateData.html#154b027d5005c796429c9d675a50ba2d">00263</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> hitActorForcePosition;
<a name="l00264"></a>00264     };
<a name="l00265"></a>00265 
<a name="l00273"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html">00273</a>     <span class="keyword">struct </span><a class="code" href="structPxVehicleConcurrentUpdateData.html" title="Structure containing data that is computed for a vehicle and its wheels during concurrent...">PxVehicleConcurrentUpdateData</a>
<a name="l00274"></a>00274     {
<a name="l00275"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html#a960a335429c764ff7e258a0ec3ab5f0">00275</a>         <span class="keyword">friend</span> <span class="keyword">class </span>PxVehicleUpdate;
<a name="l00276"></a>00276 
<a name="l00277"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html#66a66af954cf0dc1f5fc2eec992de647">00277</a>         <a class="code" href="structPxVehicleConcurrentUpdateData.html" title="Structure containing data that is computed for a vehicle and its wheels during concurrent...">PxVehicleConcurrentUpdateData</a>()
<a name="l00278"></a>00278             : concurrentWheelUpdates(NULL),
<a name="l00279"></a>00279               nbConcurrentWheelUpdates(0),
<a name="l00280"></a>00280               linearMomentumChange(<a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>(0,0,0)),
<a name="l00281"></a>00281               angularMomentumChange(<a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>(0,0,0)),
<a name="l00282"></a>00282               staySleeping(false),
<a name="l00283"></a>00283               wakeup(false)
<a name="l00284"></a>00284         {
<a name="l00285"></a>00285         }
<a name="l00286"></a>00286 
<a name="l00293"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html#bbf7860b08ed92be9cd71854f26c347c">00293</a>         <a class="code" href="structPxVehicleWheelConcurrentUpdateData.html" title="Structure containing data that is computed for a wheel during concurrent calls to...">PxVehicleWheelConcurrentUpdateData</a>* concurrentWheelUpdates;
<a name="l00294"></a>00294 
<a name="l00299"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html#b38adafb3d3f9a3879088b1ec6ab35d2">00299</a>         <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbConcurrentWheelUpdates;
<a name="l00300"></a>00300 
<a name="l00301"></a>00301     <span class="keyword">private</span>:
<a name="l00302"></a>00302 
<a name="l00303"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html#c9d1b52b512099dcda2b9880be859c4a">00303</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> linearMomentumChange;
<a name="l00304"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html#ed2bfd1b77f31811a7ffa216a1cddf7a">00304</a>         <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a> angularMomentumChange;
<a name="l00305"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html#65b829e6edec9c624e6ecae5133da2a1">00305</a>         <span class="keywordtype">bool</span> staySleeping;
<a name="l00306"></a><a class="code" href="structPxVehicleConcurrentUpdateData.html#279c8653c02f6ff3131082f4500d0bad">00306</a>         <span class="keywordtype">bool</span> wakeup;
<a name="l00307"></a>00307     };
<a name="l00308"></a>00308 
<a name="l00346"></a>00346     <span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#g2020b9fcb5092e2a2d81e82ba7461dfd" title="Perform raycasts for all suspension lines for all vehicles.">PxVehicleSuspensionRaycasts</a>
<a name="l00347"></a>00347         (<a class="code" href="classPxBatchQuery.html" title="Batched queries object. This is used to perform several queries at the same time...">PxBatchQuery</a>* batchQuery, 
<a name="l00348"></a>00348          <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbVehicles, <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>** vehicles,
<a name="l00349"></a>00349          <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbSceneQueryResults, <a class="code" href="group__physics.html#g5d8a1dc3627cf1442f40d91a5ec6b4e3" title="Convenience typedef for the result of a batched raycast query.">PxRaycastQueryResult</a>* sceneQueryResults, 
<a name="l00350"></a>00350          <span class="keyword">const</span> <span class="keywordtype">bool</span>* vehiclesToRaycast = NULL);
<a name="l00351"></a>00351 
<a name="l00352"></a>00352 
<a name="l00408"></a>00408     <span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#g3c9f3da897c9294c9164aa41b18150e3" title="Perform sweeps for all suspension lines for all vehicles.">PxVehicleSuspensionSweeps</a>
<a name="l00409"></a>00409         (<a class="code" href="classPxBatchQuery.html" title="Batched queries object. This is used to perform several queries at the same time...">PxBatchQuery</a>* batchQuery, 
<a name="l00410"></a>00410          <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbVehicles, <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>** vehicles, 
<a name="l00411"></a>00411          <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbSceneQueryResults, <a class="code" href="group__physics.html#g89ec6835295298336ceaca7069ba96e4" title="Convenience typedef for the result of a batched sweep query.">PxSweepQueryResult</a>* sceneQueryResults,  <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9caf1cbcda071b6d2a9c069faa99da23">PxU16</a> nbHitsPerQuery, 
<a name="l00412"></a>00412          <span class="keyword">const</span> <span class="keywordtype">bool</span>* vehiclesToSweep = NULL,
<a name="l00413"></a>00413          <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> sweepWidthScale = 1.0f, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> sweepRadiusScale = 1.0f);
<a name="l00414"></a>00414 
<a name="l00447"></a>00447     <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> <a class="code" href="group__vehicle.html#g1acc47dad2914768ee6074320b0a5643" title="A function called from PxContactModifyCallback::onContactModify. The function determines...">PxVehicleModifyWheelContacts</a>
<a name="l00448"></a>00448         (<span class="keyword">const</span> <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>&amp; vehicle, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> wheelId,
<a name="l00449"></a>00449         <span class="keyword">const</span> <a class="code" href="namespacephysx.html#b4cf332bdb6e8b183e40b6973acc1e9b">PxF32</a> wheelTangentVelocityMultiplier, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> maxImpulse,
<a name="l00450"></a>00450         <a class="code" href="classPxContactModifyPair.html" title="An array of instances of this class is passed to PxContactModifyCallback::onContactModify()...">PxContactModifyPair</a>&amp; contactModifyPair);
<a name="l00451"></a>00451 
<a name="l00452"></a>00452 
<a name="l00497"></a>00497     <span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#g47aff43683966ca9d1118a1bf4a1f5c2" title="Update an array of vehicles by either applying an acceleration to the rigid body...">PxVehicleUpdates</a>(
<a name="l00498"></a>00498         <span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> timestep, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; gravity, 
<a name="l00499"></a>00499         <span class="keyword">const</span> <a class="code" href="classPxVehicleDrivableSurfaceToTireFrictionPairs.html" title="Friction for each combination of driving surface type and tire type.">PxVehicleDrivableSurfaceToTireFrictionPairs</a>&amp; vehicleDrivableSurfaceToTireFrictionPairs, 
<a name="l00500"></a>00500         <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbVehicles, <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>** vehicles, <a class="code" href="structPxVehicleWheelQueryResult.html">PxVehicleWheelQueryResult</a>* vehicleWheelQueryResults, <a class="code" href="structPxVehicleConcurrentUpdateData.html" title="Structure containing data that is computed for a vehicle and its wheels during concurrent...">PxVehicleConcurrentUpdateData</a>* vehicleConcurrentUpdates = NULL);
<a name="l00501"></a>00501 
<a name="l00502"></a>00502 
<a name="l00515"></a>00515     <span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#gf9349122c5cf95fec09bd09ce5e540d2" title="Apply actor changes that were computed in concurrent calls to PxVehicleUpdates but...">PxVehiclePostUpdates</a>(
<a name="l00516"></a>00516         <span class="keyword">const</span> <a class="code" href="structPxVehicleConcurrentUpdateData.html" title="Structure containing data that is computed for a vehicle and its wheels during concurrent...">PxVehicleConcurrentUpdateData</a>* vehicleConcurrentUpdates, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbVehicles, <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>** vehicles);
<a name="l00517"></a>00517 
<a name="l00518"></a>00518 
<a name="l00535"></a>00535     <span class="keywordtype">void</span> <a class="code" href="group__vehicle.html#ge62e4d3360ae24537d7fe2100e79f24c" title="Shift the origin of vehicles by the specified vector.">PxVehicleShiftOrigin</a>(<span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; shift, <span class="keyword">const</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> nbVehicles, <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>** vehicles);
<a name="l00536"></a>00536 
<a name="l00537"></a>00537 <span class="preprocessor">#if PX_DEBUG_VEHICLE_ON</span>
<a name="l00538"></a>00538 <span class="preprocessor"></span>
<a name="l00567"></a>00567     <span class="keywordtype">void</span> PxVehicleUpdateSingleVehicleAndStoreTelemetryData
<a name="l00568"></a>00568         (<span class="keyword">const</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> timestep, <span class="keyword">const</span> <a class="code" href="classPxVec3.html" title="3 Element vector class.">PxVec3</a>&amp; gravity, 
<a name="l00569"></a>00569          <span class="keyword">const</span> <a class="code" href="classPxVehicleDrivableSurfaceToTireFrictionPairs.html" title="Friction for each combination of driving surface type and tire type.">PxVehicleDrivableSurfaceToTireFrictionPairs</a>&amp; vehicleDrivableSurfaceToTireFrictionPairs, 
<a name="l00570"></a>00570          <a class="code" href="classPxVehicleWheels.html" title="Data structure with instanced dynamics data and configuration data of a vehicle with...">PxVehicleWheels</a>* focusVehicle, <a class="code" href="structPxVehicleWheelQueryResult.html">PxVehicleWheelQueryResult</a>* vehicleWheelQueryResults, 
<a name="l00571"></a>00571          PxVehicleTelemetryData&amp; telemetryData);
<a name="l00572"></a>00572 <span class="preprocessor">#endif</span>
<a name="l00573"></a>00573 <span class="preprocessor"></span>
<a name="l00574"></a>00574 <span class="preprocessor">#if !PX_DOXYGEN</span>
<a name="l00575"></a>00575 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
<a name="l00576"></a>00576 <span class="preprocessor">#endif</span>
<a name="l00577"></a>00577 <span class="preprocessor"></span>
<a name="l00579"></a>00579 <span class="preprocessor">#endif //PX_VEHICLE_UPDATE_H</span>
</pre></div></div>

<hr style="width: 100%; height: 2px;"><br>
Copyright &copy; 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>