aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/classPxSphericalJoint.html
blob: fe0a4481874880e08ed50ecb00bb09c08c30bd45 (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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxSphericalJoint Class Reference</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 -->
<div class="contents">
<h1>PxSphericalJoint Class Reference<br>
<small>
[<a class="el" href="group__extensions.html">Extensions</a>]</small>
</h1><!-- doxytag: class="PxSphericalJoint" --><!-- doxytag: inherits="PxJoint" -->A joint which behaves in a similar way to a ball and socket.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PxSphericalJoint_8h-source.html">PxSphericalJoint.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for PxSphericalJoint:</div>
<div class="dynsection">
<p><center><img src="classPxSphericalJoint__inherit__graph.png" border="0" usemap="#PxSphericalJoint__inherit__map" alt="Inheritance graph"></center>
<map name="PxSphericalJoint__inherit__map">
<area shape="rect" href="classPxJoint.html" title="a base interface providing common functionality for PhysX joints" alt="PxJoint" coords="32,85,85,106"><area shape="rect" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection." alt="PxBase" coords="31,16,87,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for PxSphericalJoint:</div>
<div class="dynsection">
<p><center><img src="classPxSphericalJoint__coll__graph.png" border="0" usemap="#PxSphericalJoint__coll__map" alt="Collaboration graph"></center>
<map name="PxSphericalJoint__coll__map">
<area shape="rect" href="classPxJoint.html" title="a base interface providing common functionality for PhysX joints" alt="PxJoint" coords="99,178,152,200"><area shape="rect" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection." alt="PxBase" coords="97,106,153,128"><area shape="rect" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag::Enum, PxU16 \&gt;" alt="PxFlags\&lt; PxBaseFlag::Enum, PxU16 \&gt;" coords="7,16,244,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classPxSphericalJoint-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPxJointLimitCone.html">PxJointLimitCone</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#5c48934f9981180ef691c7914efa9c05">getLimitCone</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the limit cone.  <a href="#5c48934f9981180ef691c7914efa9c05"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#7ca415d2d986e63c5d5fa86dde583e6c">setLimitCone</a> (const <a class="el" href="classPxJointLimitCone.html">PxJointLimitCone</a> &amp;limit)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the limit cone.  <a href="#7ca415d2d986e63c5d5fa86dde583e6c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#3f3dd6934d09d6bc1605e53c15e45ab7">setSphericalJointFlags</a> (<a class="el" href="classPxFlags.html">PxSphericalJointFlags</a> flags)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the flags specific to the Spherical Joint.  <a href="#3f3dd6934d09d6bc1605e53c15e45ab7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#0cff21b619ff48b2ca974df7f0e38ebb">setSphericalJointFlag</a> (<a class="el" href="structPxSphericalJointFlag.html#fc657f6cb078dd077c835e798ac56561">PxSphericalJointFlag::Enum</a> flag, bool value)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a single flag specific to a Spherical Joint to true or false.  <a href="#0cff21b619ff48b2ca974df7f0e38ebb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPxFlags.html">PxSphericalJointFlags</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#97ce52284221d6429ef49db02a2487b5">getSphericalJointFlags</a> (void) const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the flags specific to the Spherical Joint.  <a href="#97ce52284221d6429ef49db02a2487b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#73173f0db2281377b91fe3b58b22001d">setProjectionLinearTolerance</a> (PxReal tolerance)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the linear tolerance threshold for projection. Projection is enabled if <a class="el" href="structPxConstraintFlag.html#86960e99b3e80ddb9e0ab51d7afc34272d3f8e02cd1fa3a41256d186a0a38ebf" title="whether the actors should get projected for this constraint (the direction will be...">PxConstraintFlag::ePROJECTION</a> is set for the joint.  <a href="#73173f0db2281377b91fe3b58b22001d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual PxReal&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#4cfc3fbb4621799cbf5449270c120d1e">getProjectionLinearTolerance</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the linear tolerance threshold for projection.  <a href="#4cfc3fbb4621799cbf5449270c120d1e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#33bc9866342c10b633dffff5536d17ee">getConcreteTypeName</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns string name of <a class="el" href="classPxSphericalJoint.html" title="A joint which behaves in a similar way to a ball and socket.">PxSphericalJoint</a>, used for serialization.  <a href="#33bc9866342c10b633dffff5536d17ee"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#b06e4205a73a38b86f803b33596ff2b0">PxSphericalJoint</a> (<a class="el" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="el" href="classPxFlags.html">PxBaseFlags</a> baseFlags)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#b06e4205a73a38b86f803b33596ff2b0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#c286965aa17ee29f33dfc66723f30116">PxSphericalJoint</a> (<a class="el" href="classPxFlags.html">PxBaseFlags</a> baseFlags)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deserialization constructor.  <a href="#c286965aa17ee29f33dfc66723f30116"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxSphericalJoint.html#2fa42a5334d0b2395dec6b2be0909dd3">isKindOf</a> (const char *name) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether a given type name matches with the type of this instance.  <a href="#2fa42a5334d0b2395dec6b2be0909dd3"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A joint which behaves in a similar way to a ball and socket. 
<p>
A spherical joint removes all linear degrees of freedom from two objects.<p>
The position of the joint on each actor is specified by the origin of the body's joint frame.<p>
A spherical joint may have a cone limit, to restrict the motion to within a certain range. In addition, the bodies may be projected together if the distance between them exceeds a given threshold.<p>
Projection, drive and limits are activated by setting the appropriate flags on the joint.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__extensions.html#g4aa56f32cb1cb2245d1c0cde99d0af17" title="Create a revolute joint.">PxRevoluteJointCreate()</a> <a class="el" href="classPxJoint.html" title="a base interface providing common functionality for PhysX joints">PxJoint</a> </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b06e4205a73a38b86f803b33596ff2b0"></a><!-- doxytag: member="PxSphericalJoint::PxSphericalJoint" ref="b06e4205a73a38b86f803b33596ff2b0" args="(PxType concreteType, PxBaseFlags baseFlags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_INLINE PxSphericalJoint::PxSphericalJoint           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a>&nbsp;</td>
          <td class="paramname"> <em>concreteType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxFlags.html">PxBaseFlags</a>&nbsp;</td>
          <td class="paramname"> <em>baseFlags</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

</div>
</div><p>
<a class="anchor" name="c286965aa17ee29f33dfc66723f30116"></a><!-- doxytag: member="PxSphericalJoint::PxSphericalJoint" ref="c286965aa17ee29f33dfc66723f30116" args="(PxBaseFlags baseFlags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_INLINE PxSphericalJoint::PxSphericalJoint           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxFlags.html">PxBaseFlags</a>&nbsp;</td>
          <td class="paramname"> <em>baseFlags</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deserialization constructor. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="33bc9866342c10b633dffff5536d17ee"></a><!-- doxytag: member="PxSphericalJoint::getConcreteTypeName" ref="33bc9866342c10b633dffff5536d17ee" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* PxSphericalJoint::getConcreteTypeName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns string name of <a class="el" href="classPxSphericalJoint.html" title="A joint which behaves in a similar way to a ball and socket.">PxSphericalJoint</a>, used for serialization. 
<p>

<p>Implements <a class="el" href="classPxBase.html#67fe206d8897ddce896c371ac8d789a9">PxBase</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c48934f9981180ef691c7914efa9c05"></a><!-- doxytag: member="PxSphericalJoint::getLimitCone" ref="5c48934f9981180ef691c7914efa9c05" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classPxJointLimitCone.html">PxJointLimitCone</a> PxSphericalJoint::getLimitCone           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the limit cone. 
<p>
If enabled, the limit cone will constrain the angular movement of the joint to lie within an elliptical cone.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the limit cone</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxJointLimitCone.html" title="Describes an elliptical conical joint limit. Note that very small or highly elliptical...">PxJointLimitCone</a> setLimit() </dd></dl>

</div>
</div><p>
<a class="anchor" name="4cfc3fbb4621799cbf5449270c120d1e"></a><!-- doxytag: member="PxSphericalJoint::getProjectionLinearTolerance" ref="4cfc3fbb4621799cbf5449270c120d1e" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxReal PxSphericalJoint::getProjectionLinearTolerance           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the linear tolerance threshold for projection. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the linear tolerance threshold</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxSphericalJoint.html#73173f0db2281377b91fe3b58b22001d" title="Set the linear tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJE...">setProjectionLinearTolerance()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="97ce52284221d6429ef49db02a2487b5"></a><!-- doxytag: member="PxSphericalJoint::getSphericalJointFlags" ref="97ce52284221d6429ef49db02a2487b5" args="(void) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classPxFlags.html">PxSphericalJointFlags</a> PxSphericalJoint::getSphericalJointFlags           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the flags specific to the Spherical Joint. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the joint flags</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>PxSphericalJoint::flags, <a class="el" href="structPxSphericalJointFlag.html" title="Flags specific to the spherical joint.">PxSphericalJointFlag</a> setFlag() setFlags() </dd></dl>

</div>
</div><p>
<a class="anchor" name="2fa42a5334d0b2395dec6b2be0909dd3"></a><!-- doxytag: member="PxSphericalJoint::isKindOf" ref="2fa42a5334d0b2395dec6b2be0909dd3" args="(const char *name) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool PxSphericalJoint::isKindOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns whether a given type name matches with the type of this instance. 
<p>

<p>Reimplemented from <a class="el" href="classPxJoint.html#bf37afb8ce63b5402cf69ab6e9344b28">PxJoint</a>.</p>

<p>References <a class="el" href="PxJoint_8h-source.html#l00400">PxJoint::isKindOf()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7ca415d2d986e63c5d5fa86dde583e6c"></a><!-- doxytag: member="PxSphericalJoint::setLimitCone" ref="7ca415d2d986e63c5d5fa86dde583e6c" args="(const PxJointLimitCone &amp;limit)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxSphericalJoint::setLimitCone           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxJointLimitCone.html">PxJointLimitCone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>limit</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the limit cone. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>limit</em>&nbsp;</td><td>the limit cone</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxJointLimitCone.html" title="Describes an elliptical conical joint limit. Note that very small or highly elliptical...">PxJointLimitCone</a> getLimit() </dd></dl>

</div>
</div><p>
<a class="anchor" name="73173f0db2281377b91fe3b58b22001d"></a><!-- doxytag: member="PxSphericalJoint::setProjectionLinearTolerance" ref="73173f0db2281377b91fe3b58b22001d" args="(PxReal tolerance)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxSphericalJoint::setProjectionLinearTolerance           </td>
          <td>(</td>
          <td class="paramtype">PxReal&nbsp;</td>
          <td class="paramname"> <em>tolerance</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the linear tolerance threshold for projection. Projection is enabled if <a class="el" href="structPxConstraintFlag.html#86960e99b3e80ddb9e0ab51d7afc34272d3f8e02cd1fa3a41256d186a0a38ebf" title="whether the actors should get projected for this constraint (the direction will be...">PxConstraintFlag::ePROJECTION</a> is set for the joint. 
<p>
If the joint separates by more than this distance along its locked degrees of freedom, the solver will move the bodies to close the distance.<p>
Setting a very small tolerance may result in simulation jitter or other artifacts.<p>
Sometimes it is not possible to project (for example when the joints form a cycle).<p>
<b>Range:</b> [0, PX_MAX_F32)<br>
 <b>Default:</b> 1e10f<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>tolerance</em>&nbsp;</td><td>the linear tolerance threshold</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxSphericalJoint.html#4cfc3fbb4621799cbf5449270c120d1e" title="Get the linear tolerance threshold for projection.">getProjectionLinearTolerance()</a> <a class="el" href="classPxJoint.html#857ea5abc40d94b0e1537b566a9d45bf" title="set the constraint flags for this joint.">PxJoint::setConstraintFlags()</a> <a class="el" href="structPxConstraintFlag.html#86960e99b3e80ddb9e0ab51d7afc34272d3f8e02cd1fa3a41256d186a0a38ebf" title="whether the actors should get projected for this constraint (the direction will be...">PxConstraintFlag::ePROJECTION</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="0cff21b619ff48b2ca974df7f0e38ebb"></a><!-- doxytag: member="PxSphericalJoint::setSphericalJointFlag" ref="0cff21b619ff48b2ca974df7f0e38ebb" args="(PxSphericalJointFlag::Enum flag, bool value)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxSphericalJoint::setSphericalJointFlag           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPxSphericalJointFlag.html#fc657f6cb078dd077c835e798ac56561">PxSphericalJointFlag::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set a single flag specific to a Spherical Joint to true or false. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>flag</em>&nbsp;</td><td>The flag to set or clear. </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>value</em>&nbsp;</td><td>the value to which to set the flag</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxSphericalJointFlag.html" title="Flags specific to the spherical joint.">PxSphericalJointFlag</a>, getFlags() setFlags() </dd></dl>

</div>
</div><p>
<a class="anchor" name="3f3dd6934d09d6bc1605e53c15e45ab7"></a><!-- doxytag: member="PxSphericalJoint::setSphericalJointFlags" ref="3f3dd6934d09d6bc1605e53c15e45ab7" args="(PxSphericalJointFlags flags)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxSphericalJoint::setSphericalJointFlags           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxFlags.html">PxSphericalJointFlags</a>&nbsp;</td>
          <td class="paramname"> <em>flags</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the flags specific to the Spherical Joint. 
<p>
<b>Default</b> PxSphericalJointFlags(0)<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>flags</em>&nbsp;</td><td>The joint flags.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxSphericalJointFlag.html" title="Flags specific to the spherical joint.">PxSphericalJointFlag</a> setFlag() getFlags() </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxSphericalJoint_8h-source.html">PxSphericalJoint.h</a></ul>
</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>