aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/classPxD6Joint.html
blob: 8e398f0dfbec851eee8e1e3fdc548ebe71727393 (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
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxD6Joint 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>PxD6Joint Class Reference<br>
<small>
[<a class="el" href="group__extensions.html">Extensions</a>]</small>
</h1><!-- doxytag: class="PxD6Joint" --><!-- doxytag: inherits="PxJoint" -->A D6 joint is a general constraint between two actors.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PxD6Joint_8h-source.html">PxD6Joint.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for PxD6Joint:</div>
<div class="dynsection">
<p><center><img src="classPxD6Joint__inherit__graph.png" border="0" usemap="#PxD6Joint__inherit__map" alt="Inheritance graph"></center>
<map name="PxD6Joint__inherit__map">
<area shape="rect" href="classPxJoint.html" title="a base interface providing common functionality for PhysX joints" alt="PxJoint" coords="15,85,68,106"><area shape="rect" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection." alt="PxBase" coords="13,16,69,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for PxD6Joint:</div>
<div class="dynsection">
<p><center><img src="classPxD6Joint__coll__graph.png" border="0" usemap="#PxD6Joint__coll__map" alt="Collaboration graph"></center>
<map name="PxD6Joint__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="classPxD6Joint-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 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxD6Joint.html#6253223e558ef6c3fd22a4d558dee97d">setMotion</a> (<a class="el" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880">PxD6Axis::Enum</a> axis, <a class="el" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc">PxD6Motion::Enum</a> type)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the motion type around the specified axis.  <a href="#6253223e558ef6c3fd22a4d558dee97d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc">PxD6Motion::Enum</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxD6Joint.html#8bd1ae81eb92e4dbd2c695fd9d8bfba8">getMotion</a> (<a class="el" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880">PxD6Axis::Enum</a> axis) const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the motion type around the specified axis.  <a href="#8bd1ae81eb92e4dbd2c695fd9d8bfba8"></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="classPxD6Joint.html#a835389fb51c86ffb0a0aa32cbeec4f4">getTwist</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the twist angle of the joint  <a href="#a835389fb51c86ffb0a0aa32cbeec4f4"></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="classPxD6Joint.html#ae0e5965a6423397bd3351c2b975a650">getSwingYAngle</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the swing angle of the joint from the Y axis  <a href="#ae0e5965a6423397bd3351c2b975a650"></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="classPxD6Joint.html#e8551ae9f94587a55c0eae851d612fd7">getSwingZAngle</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the swing angle of the joint from the Z axis  <a href="#e8551ae9f94587a55c0eae851d612fd7"></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="classPxD6Joint.html#8ceb03a43499c3f85a01ba00eea0c034">setLinearLimit</a> (const <a class="el" href="classPxJointLinearLimit.html">PxJointLinearLimit</a> &amp;limit)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the linear limit for the joint.  <a href="#8ceb03a43499c3f85a01ba00eea0c034"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPxJointLinearLimit.html">PxJointLinearLimit</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxD6Joint.html#04d34a3dc0963022996402bd30d7043d">getLinearLimit</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the linear limit for the joint.  <a href="#04d34a3dc0963022996402bd30d7043d"></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="classPxD6Joint.html#6461182921ceab095997f58891fb4adc">setTwistLimit</a> (const <a class="el" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a> &amp;limit)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the twist limit for the joint.  <a href="#6461182921ceab095997f58891fb4adc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxD6Joint.html#d61577f7428193e59399a4dd4a24e153">getTwistLimit</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the twist limit for the joint.  <a href="#d61577f7428193e59399a4dd4a24e153"></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="classPxD6Joint.html#72a1f48dffd418d278ec9beb110a9236">setSwingLimit</a> (const <a class="el" href="classPxJointLimitCone.html">PxJointLimitCone</a> &amp;limit)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the swing cone limit for the joint.  <a href="#72a1f48dffd418d278ec9beb110a9236"></a><br></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="classPxD6Joint.html#f2919895cc7726ee85c25600ae849362">getSwingLimit</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the cone limit for the joint.  <a href="#f2919895cc7726ee85c25600ae849362"></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="classPxD6Joint.html#85811f1770be8ff4ea79b4e49b313599">setDrive</a> (<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">PxD6Drive::Enum</a> index, const <a class="el" href="classPxD6JointDrive.html">PxD6JointDrive</a> &amp;drive)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the drive parameters for the specified drive type.  <a href="#85811f1770be8ff4ea79b4e49b313599"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPxD6JointDrive.html">PxD6JointDrive</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxD6Joint.html#bcafdd8e465cac74e3f1b4770e9e1373">getDrive</a> (<a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">PxD6Drive::Enum</a> index) const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the drive parameters for the specified drive type.  <a href="#bcafdd8e465cac74e3f1b4770e9e1373"></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="classPxD6Joint.html#22471ee961a299903402b10d786d36c7">setDrivePosition</a> (const <a class="el" href="classPxTransform.html">PxTransform</a> &amp;pose)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the drive goal pose.  <a href="#22471ee961a299903402b10d786d36c7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPxTransform.html">PxTransform</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxD6Joint.html#cffd2ae67bab2eae2b03be5c57ae564a">getDrivePosition</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the drive goal pose.  <a href="#cffd2ae67bab2eae2b03be5c57ae564a"></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="classPxD6Joint.html#f23b422a5ed89350c0f04664ae2351cc">setDriveVelocity</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;linear, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;angular)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the target goal velocity for drive.  <a href="#f23b422a5ed89350c0f04664ae2351cc"></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="classPxD6Joint.html#caebc6c005a26fbbba5faa65721e9269">getDriveVelocity</a> (<a class="el" href="classPxVec3.html">PxVec3</a> &amp;linear, <a class="el" href="classPxVec3.html">PxVec3</a> &amp;angular) const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the target goal velocity for joint drive.  <a href="#caebc6c005a26fbbba5faa65721e9269"></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="classPxD6Joint.html#acb253ce8a5aad477afd96f1202d4b61">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="#acb253ce8a5aad477afd96f1202d4b61"></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="classPxD6Joint.html#e784aa5547471041bad55269fb03ad0a">getProjectionLinearTolerance</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the linear tolerance threshold for projection.  <a href="#e784aa5547471041bad55269fb03ad0a"></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="classPxD6Joint.html#ba8db764141f62a0a160a0752e7e65d7">setProjectionAngularTolerance</a> (PxReal tolerance)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the angular 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="#ba8db764141f62a0a160a0752e7e65d7"></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="classPxD6Joint.html#fe17636945bccdb5ecbfe360b90d9887">getProjectionAngularTolerance</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the angular tolerance threshold for projection.  <a href="#fe17636945bccdb5ecbfe360b90d9887"></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="classPxD6Joint.html#2fc045aaccd034b0cc8654b3f6848767">getConcreteTypeName</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns string name of <a class="el" href="classPxD6Joint.html" title="A D6 joint is a general constraint between two actors.">PxD6Joint</a>, used for serialization.  <a href="#2fc045aaccd034b0cc8654b3f6848767"></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="classPxD6Joint.html#aa40f40276764b205e795befd10d1a50">PxD6Joint</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="#aa40f40276764b205e795befd10d1a50"></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="classPxD6Joint.html#06fb77acc64f320b039e1aa14129db1c">PxD6Joint</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="#06fb77acc64f320b039e1aa14129db1c"></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="classPxD6Joint.html#6beea386f0d7451ab3ba94148a5da298">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="#6beea386f0d7451ab3ba94148a5da298"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A D6 joint is a general constraint between two actors. 
<p>
It allows the application to individually define the linear and rotational degrees of freedom, and also to configure a variety of limits and driven degrees of freedom.<p>
By default all degrees of freedom are locked. So to create a prismatic joint with free motion along the x-axis:<p>
<div class="fragment"><pre class="fragment">    ...
    joint-&gt;setMotion(<a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880bf4908a96affb5d3f4e3707080129037" title="motion along the X axix">PxD6Axis::eX</a>, PxD6JointMotion::eFREE);
     ...
</pre></div><p>
Or a Revolute joint with motion free allowed around the x-axis:<p>
<div class="fragment"><pre class="fragment">    ... 
    joint-&gt;setMotion(<a class="code" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca1288807854f35a1d4518d556eee64c2cfcec10" title="motion around the X axis">PxD6Axis::eTWIST</a>, PxD6JointMotion::eFREE);
    ...
</pre></div><p>
Degrees of freedom may also be set to limited instead of locked. There is a single limit value for all linear degrees of freedom, which may act as a linear, circular, or spherical limit depending on which degrees of freedom are limited.<p>
If the twist degree of freedom is limited, is supports upper and lower limits. The two swing degrees of freedom are limited with a cone limit. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__extensions.html#g5d942bf8c3069024e50a8dd2254c390c" title="Create a D6 joint.">PxD6JointCreate()</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="aa40f40276764b205e795befd10d1a50"></a><!-- doxytag: member="PxD6Joint::PxD6Joint" ref="aa40f40276764b205e795befd10d1a50" args="(PxType concreteType, PxBaseFlags baseFlags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_INLINE PxD6Joint::PxD6Joint           </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="06fb77acc64f320b039e1aa14129db1c"></a><!-- doxytag: member="PxD6Joint::PxD6Joint" ref="06fb77acc64f320b039e1aa14129db1c" args="(PxBaseFlags baseFlags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_INLINE PxD6Joint::PxD6Joint           </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="2fc045aaccd034b0cc8654b3f6848767"></a><!-- doxytag: member="PxD6Joint::getConcreteTypeName" ref="2fc045aaccd034b0cc8654b3f6848767" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* PxD6Joint::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="classPxD6Joint.html" title="A D6 joint is a general constraint between two actors.">PxD6Joint</a>, used for serialization. 
<p>

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

</div>
</div><p>
<a class="anchor" name="bcafdd8e465cac74e3f1b4770e9e1373"></a><!-- doxytag: member="PxD6Joint::getDrive" ref="bcafdd8e465cac74e3f1b4770e9e1373" args="(PxD6Drive::Enum index) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classPxD6JointDrive.html">PxD6JointDrive</a> PxD6Joint::getDrive           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">PxD6Drive::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>index</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the drive parameters for the specified drive type. 
<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>index</em>&nbsp;</td><td>the specified drive type</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#85811f1770be8ff4ea79b4e49b313599" title="Set the drive parameters for the specified drive type.">setDrive()</a> <a class="el" href="classPxD6JointDrive.html" title="parameters for configuring the drive model of a PxD6Joint">PxD6JointDrive</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="cffd2ae67bab2eae2b03be5c57ae564a"></a><!-- doxytag: member="PxD6Joint::getDrivePosition" ref="cffd2ae67bab2eae2b03be5c57ae564a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classPxTransform.html">PxTransform</a> PxD6Joint::getDrivePosition           </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 drive goal pose. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#cffd2ae67bab2eae2b03be5c57ae564a" title="Get the drive goal pose.">getDrivePosition()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="caebc6c005a26fbbba5faa65721e9269"></a><!-- doxytag: member="PxD6Joint::getDriveVelocity" ref="caebc6c005a26fbbba5faa65721e9269" args="(PxVec3 &amp;linear, PxVec3 &amp;angular) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::getDriveVelocity           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxVec3.html">PxVec3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>linear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPxVec3.html">PxVec3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>angular</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the target goal velocity for joint drive. 
<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>linear</em>&nbsp;</td><td>The goal velocity for linear drive </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>angular</em>&nbsp;</td><td>The goal velocity for angular drive</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#f23b422a5ed89350c0f04664ae2351cc" title="Set the target goal velocity for drive.">setDriveVelocity()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="04d34a3dc0963022996402bd30d7043d"></a><!-- doxytag: member="PxD6Joint::getLinearLimit" ref="04d34a3dc0963022996402bd30d7043d" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classPxJointLinearLimit.html">PxJointLinearLimit</a> PxD6Joint::getLinearLimit           </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 limit for the joint. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the linear limit structure</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#8ceb03a43499c3f85a01ba00eea0c034" title="Set the linear limit for the joint.">setLinearLimit()</a> <a class="el" href="classPxJointLinearLimit.html" title="Describes a one-sided linear limit.">PxJointLinearLimit</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="8bd1ae81eb92e4dbd2c695fd9d8bfba8"></a><!-- doxytag: member="PxD6Joint::getMotion" ref="8bd1ae81eb92e4dbd2c695fd9d8bfba8" args="(PxD6Axis::Enum axis) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc">PxD6Motion::Enum</a> PxD6Joint::getMotion           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880">PxD6Axis::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>axis</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the motion type around the specified axis. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#6253223e558ef6c3fd22a4d558dee97d" title="Set the motion type around the specified axis.">setMotion()</a> <a class="el" href="structPxD6Axis.html" title="Used to specify one of the degrees of freedom of a D6 joint.">PxD6Axis</a> <a class="el" href="structPxD6Motion.html" title="Used to specify the range of motions allowed for a degree of freedom in a D6 joint...">PxD6Motion</a></dd></dl>
<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>axis</em>&nbsp;</td><td>the degree of freedom around which the motion type is specified </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the motion type around the specified axis </dd></dl>

</div>
</div><p>
<a class="anchor" name="fe17636945bccdb5ecbfe360b90d9887"></a><!-- doxytag: member="PxD6Joint::getProjectionAngularTolerance" ref="fe17636945bccdb5ecbfe360b90d9887" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxReal PxD6Joint::getProjectionAngularTolerance           </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 angular tolerance threshold for projection. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>tolerance the angular tolerance threshold in radians</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#ba8db764141f62a0a160a0752e7e65d7" title="Set the angular tolerance threshold for projection. Projection is enabled if PxConstraintFlag::ePROJ...">setProjectionAngularTolerance()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="e784aa5547471041bad55269fb03ad0a"></a><!-- doxytag: member="PxD6Joint::getProjectionLinearTolerance" ref="e784aa5547471041bad55269fb03ad0a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxReal PxD6Joint::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="classPxD6Joint.html#acb253ce8a5aad477afd96f1202d4b61" 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="f2919895cc7726ee85c25600ae849362"></a><!-- doxytag: member="PxD6Joint::getSwingLimit" ref="f2919895cc7726ee85c25600ae849362" 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> PxD6Joint::getSwingLimit           </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 cone limit for the joint. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the swing limit structure</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>setLimitCone() <a class="el" href="classPxJointLimitCone.html" title="Describes an elliptical conical joint limit. Note that very small or highly elliptical...">PxJointLimitCone</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="ae0e5965a6423397bd3351c2b975a650"></a><!-- doxytag: member="PxD6Joint::getSwingYAngle" ref="ae0e5965a6423397bd3351c2b975a650" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxReal PxD6Joint::getSwingYAngle           </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 swing angle of the joint from the Y axis 
<p>

</div>
</div><p>
<a class="anchor" name="e8551ae9f94587a55c0eae851d612fd7"></a><!-- doxytag: member="PxD6Joint::getSwingZAngle" ref="e8551ae9f94587a55c0eae851d612fd7" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxReal PxD6Joint::getSwingZAngle           </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 swing angle of the joint from the Z axis 
<p>

</div>
</div><p>
<a class="anchor" name="a835389fb51c86ffb0a0aa32cbeec4f4"></a><!-- doxytag: member="PxD6Joint::getTwist" ref="a835389fb51c86ffb0a0aa32cbeec4f4" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxReal PxD6Joint::getTwist           </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 twist angle of the joint 
<p>

</div>
</div><p>
<a class="anchor" name="d61577f7428193e59399a4dd4a24e153"></a><!-- doxytag: member="PxD6Joint::getTwistLimit" ref="d61577f7428193e59399a4dd4a24e153" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a> PxD6Joint::getTwistLimit           </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 twist limit for the joint. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the twist limit structure</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#6461182921ceab095997f58891fb4adc" title="Set the twist limit for the joint.">setTwistLimit()</a> <a class="el" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="6beea386f0d7451ab3ba94148a5da298"></a><!-- doxytag: member="PxD6Joint::isKindOf" ref="6beea386f0d7451ab3ba94148a5da298" args="(const char *name) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool PxD6Joint::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="85811f1770be8ff4ea79b4e49b313599"></a><!-- doxytag: member="PxD6Joint::setDrive" ref="85811f1770be8ff4ea79b4e49b313599" args="(PxD6Drive::Enum index, const PxD6JointDrive &amp;drive)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::setDrive           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPxD6Drive.html#08b14ae53dcb83687f9f53580121240e">PxD6Drive::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxD6JointDrive.html">PxD6JointDrive</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>drive</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 the drive parameters for the specified drive type. 
<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>index</em>&nbsp;</td><td>the type of drive being specified </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>drive</em>&nbsp;</td><td>the drive parameters</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#bcafdd8e465cac74e3f1b4770e9e1373" title="Get the drive parameters for the specified drive type.">getDrive()</a> <a class="el" href="classPxD6JointDrive.html" title="parameters for configuring the drive model of a PxD6Joint">PxD6JointDrive</a></dd></dl>
<b>Default</b> The default drive spring and damping values are zero, the force limit is zero, and no flags are set. 
</div>
</div><p>
<a class="anchor" name="22471ee961a299903402b10d786d36c7"></a><!-- doxytag: member="PxD6Joint::setDrivePosition" ref="22471ee961a299903402b10d786d36c7" args="(const PxTransform &amp;pose)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::setDrivePosition           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxTransform.html">PxTransform</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pose</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the drive goal pose. 
<p>
The goal is relative to the constraint frame of actor[0]<p>
<b>Default</b> the identity transform<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>pose</em>&nbsp;</td><td>The goal drive pose if positional drive is in use.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#22471ee961a299903402b10d786d36c7" title="Set the drive goal pose.">setDrivePosition()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="f23b422a5ed89350c0f04664ae2351cc"></a><!-- doxytag: member="PxD6Joint::setDriveVelocity" ref="f23b422a5ed89350c0f04664ae2351cc" args="(const PxVec3 &amp;linear, const PxVec3 &amp;angular)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::setDriveVelocity           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>linear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>angular</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 the target goal velocity for drive. 
<p>
The velocity is measured in the constraint frame of actor[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>linear</em>&nbsp;</td><td>The goal velocity for linear drive </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>angular</em>&nbsp;</td><td>The goal velocity for angular drive</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#caebc6c005a26fbbba5faa65721e9269" title="Get the target goal velocity for joint drive.">getDriveVelocity()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="8ceb03a43499c3f85a01ba00eea0c034"></a><!-- doxytag: member="PxD6Joint::setLinearLimit" ref="8ceb03a43499c3f85a01ba00eea0c034" args="(const PxJointLinearLimit &amp;limit)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::setLinearLimit           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxJointLinearLimit.html">PxJointLinearLimit</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>
Set the linear limit for the joint. 
<p>
A single limit constraints all linear limited degrees of freedom, forming a linear, circular or spherical constraint on motion depending on the number of limited degrees.<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 linear limit structure</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#04d34a3dc0963022996402bd30d7043d" title="Get the linear limit for the joint.">getLinearLimit()</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="6253223e558ef6c3fd22a4d558dee97d"></a><!-- doxytag: member="PxD6Joint::setMotion" ref="6253223e558ef6c3fd22a4d558dee97d" args="(PxD6Axis::Enum axis, PxD6Motion::Enum type)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::setMotion           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPxD6Axis.html#0a15eb4ffcf285b3bd8289ddca128880">PxD6Axis::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>axis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structPxD6Motion.html#c93106f83ed65cc6bf206fb9ba3994dc">PxD6Motion::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>type</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 the motion type around the specified axis. 
<p>
Each axis may independently specify that the degree of freedom is locked (blocking relative movement along or around this axis), limited by the corresponding limit, or free.<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>axis</em>&nbsp;</td><td>the axis around which motion is specified </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>type</em>&nbsp;</td><td>the motion type around the specified axis</td></tr>
  </table>
</dl>
<b>Default:</b> all degrees of freedom are locked<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#8bd1ae81eb92e4dbd2c695fd9d8bfba8" title="Get the motion type around the specified axis.">getMotion()</a> <a class="el" href="structPxD6Axis.html" title="Used to specify one of the degrees of freedom of a D6 joint.">PxD6Axis</a> <a class="el" href="structPxD6Motion.html" title="Used to specify the range of motions allowed for a degree of freedom in a D6 joint...">PxD6Motion</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="ba8db764141f62a0a160a0752e7e65d7"></a><!-- doxytag: member="PxD6Joint::setProjectionAngularTolerance" ref="ba8db764141f62a0a160a0752e7e65d7" args="(PxReal tolerance)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::setProjectionAngularTolerance           </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 angular 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 deviates by more than this angle around its locked angular degrees of freedom, the solver will move the bodies to close the angle.<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,Pi] <br>
 <b>Default:</b> Pi<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 angular tolerance threshold in radians</td></tr>
  </table>
</dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Angular projection is implemented only for the case of two or three locked angular degrees of freedom.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#fe17636945bccdb5ecbfe360b90d9887" title="Get the angular tolerance threshold for projection.">getProjectionAngularTolerance()</a> <a class="el" href="classPxJoint.html#5bbf2a4196e036d711eea9bd5e542ce9" title="set a constraint flags for this joint to a specified value.">PxJoint::setConstraintFlag()</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="acb253ce8a5aad477afd96f1202d4b61"></a><!-- doxytag: member="PxD6Joint::setProjectionLinearTolerance" ref="acb253ce8a5aad477afd96f1202d4b61" args="(PxReal tolerance)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::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="classPxD6Joint.html#e784aa5547471041bad55269fb03ad0a" 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="72a1f48dffd418d278ec9beb110a9236"></a><!-- doxytag: member="PxD6Joint::setSwingLimit" ref="72a1f48dffd418d278ec9beb110a9236" args="(const PxJointLimitCone &amp;limit)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::setSwingLimit           </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>
Set the swing cone limit for the joint. 
<p>
The cone limit is used if either or both swing axes are limited. The extents are symmetrical and measured in the frame of the parent. If only one swing degree of freedom is limited, the corresponding value from the cone limit defines the limit range.<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 cone limit structure</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd>getLimitCone() <a class="el" href="classPxJointLimitCone.html" title="Describes an elliptical conical joint limit. Note that very small or highly elliptical...">PxJointLimitCone</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="6461182921ceab095997f58891fb4adc"></a><!-- doxytag: member="PxD6Joint::setTwistLimit" ref="6461182921ceab095997f58891fb4adc" args="(const PxJointAngularLimitPair &amp;limit)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxD6Joint::setTwistLimit           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</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>
Set the twist limit for the joint. 
<p>
The twist limit controls the range of motion around the twist axis.<p>
The limit angle range is (-2*PI, 2*PI) and the extent of the limit must be strictly less than 2*PI<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 twist limit structure</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxD6Joint.html#d61577f7428193e59399a4dd4a24e153" title="Get the twist limit for the joint.">getTwistLimit()</a> <a class="el" href="classPxJointAngularLimitPair.html">PxJointAngularLimitPair</a> </dd></dl>

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