Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:10 CET 2013 -->
6
<TITLE>
7
WheelJointDef (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="WheelJointDef (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/WheelJointDef.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;NEXT CLASS</FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../../index.html?com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="WheelJointDef.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.badlogic.gdx.physics.box2d.JointDef">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.physics.box2d.joints</FONT>
107
<BR>
108
Class WheelJointDef</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.html" title="class in com.badlogic.gdx.physics.box2d">com.badlogic.gdx.physics.box2d.JointDef</A>
112
      <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.physics.box2d.joints.WheelJointDef</B>
113
</PRE>
114
<HR>
115
<DL>
116
<DT><PRE>public class <B>WheelJointDef</B><DT>extends <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.html" title="class in com.badlogic.gdx.physics.box2d">JointDef</A></DL>
117
</PRE>
118
 
119
<P>
120
Wheel joint definition. This requires defining a line of motion using an axis and an anchor point. The definition uses local
121
 anchor points and a local axis so that the initial configuration can violate the constraint slightly. The joint translation is
122
 zero when the local anchor points coincide in world space. Using local anchors and a local axis helps when saving and loading a
123
 game.
124
<P>
125
 
126
<P>
127
<HR>
128
 
129
<P>
130
<!-- ======== NESTED CLASS SUMMARY ======== -->
131
 
132
<A NAME="nested_class_summary"><!-- --></A>
133
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
134
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
135
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
136
<B>Nested Class Summary</B></FONT></TH>
137
</TR>
138
</TABLE>
139
&nbsp;<A NAME="nested_classes_inherited_from_class_com.badlogic.gdx.physics.box2d.JointDef"><!-- --></A>
140
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
142
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.badlogic.gdx.physics.box2d.<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.html" title="class in com.badlogic.gdx.physics.box2d">JointDef</A></B></TH>
143
</TR>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD><CODE><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.JointType.html" title="enum in com.badlogic.gdx.physics.box2d">JointDef.JointType</A></CODE></TD>
146
</TR>
147
</TABLE>
148
&nbsp;
149
<!-- =========== FIELD SUMMARY =========== -->
150
 
151
<A NAME="field_summary"><!-- --></A>
152
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
155
<B>Field Summary</B></FONT></TH>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>&nbsp;float</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#dampingRatio">dampingRatio</A></B></CODE>
161
 
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Suspension damping ratio, one indicates critical damping</TD>
164
</TR>
165
<TR BGCOLOR="white" CLASS="TableRowColor">
166
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167
<CODE>&nbsp;boolean</CODE></FONT></TD>
168
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#enableMotor">enableMotor</A></B></CODE>
169
 
170
<BR>
171
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enable/disable the joint motor.</TD>
172
</TR>
173
<TR BGCOLOR="white" CLASS="TableRowColor">
174
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175
<CODE>&nbsp;float</CODE></FONT></TD>
176
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#frequencyHz">frequencyHz</A></B></CODE>
177
 
178
<BR>
179
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Suspension frequency, zero indicates no suspension</TD>
180
</TR>
181
<TR BGCOLOR="white" CLASS="TableRowColor">
182
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183
<CODE>&nbsp;<A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A></CODE></FONT></TD>
184
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#localAnchorA">localAnchorA</A></B></CODE>
185
 
186
<BR>
187
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The local anchor point relative to body1's origin.</TD>
188
</TR>
189
<TR BGCOLOR="white" CLASS="TableRowColor">
190
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191
<CODE>&nbsp;<A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A></CODE></FONT></TD>
192
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#localAnchorB">localAnchorB</A></B></CODE>
193
 
194
<BR>
195
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The local anchor point relative to body2's origin.</TD>
196
</TR>
197
<TR BGCOLOR="white" CLASS="TableRowColor">
198
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199
<CODE>&nbsp;<A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A></CODE></FONT></TD>
200
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#localAxisA">localAxisA</A></B></CODE>
201
 
202
<BR>
203
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The local translation axis in body1.</TD>
204
</TR>
205
<TR BGCOLOR="white" CLASS="TableRowColor">
206
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207
<CODE>&nbsp;float</CODE></FONT></TD>
208
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#maxMotorTorque">maxMotorTorque</A></B></CODE>
209
 
210
<BR>
211
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum motor torque, usually in N-m.</TD>
212
</TR>
213
<TR BGCOLOR="white" CLASS="TableRowColor">
214
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215
<CODE>&nbsp;float</CODE></FONT></TD>
216
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#motorSpeed">motorSpeed</A></B></CODE>
217
 
218
<BR>
219
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The desired motor speed in radians per second.</TD>
220
</TR>
221
</TABLE>
222
&nbsp;<A NAME="fields_inherited_from_class_com.badlogic.gdx.physics.box2d.JointDef"><!-- --></A>
223
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
224
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
225
<TH ALIGN="left"><B>Fields inherited from class com.badlogic.gdx.physics.box2d.<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.html" title="class in com.badlogic.gdx.physics.box2d">JointDef</A></B></TH>
226
</TR>
227
<TR BGCOLOR="white" CLASS="TableRowColor">
228
<TD><CODE><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.html#bodyA">bodyA</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.html#bodyB">bodyB</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.html#collideConnected">collideConnected</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/JointDef.html#type">type</A></CODE></TD>
229
</TR>
230
</TABLE>
231
&nbsp;
232
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
233
 
234
<A NAME="constructor_summary"><!-- --></A>
235
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
236
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
237
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
238
<B>Constructor Summary</B></FONT></TH>
239
</TR>
240
<TR BGCOLOR="white" CLASS="TableRowColor">
241
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#WheelJointDef()">WheelJointDef</A></B>()</CODE>
242
 
243
<BR>
244
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
245
</TR>
246
</TABLE>
247
&nbsp;
248
<!-- ========== METHOD SUMMARY =========== -->
249
 
250
<A NAME="method_summary"><!-- --></A>
251
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
252
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
253
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
254
<B>Method Summary</B></FONT></TH>
255
</TR>
256
<TR BGCOLOR="white" CLASS="TableRowColor">
257
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
258
<CODE>&nbsp;void</CODE></FONT></TD>
259
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html#initialize(com.badlogic.gdx.physics.box2d.Body, com.badlogic.gdx.physics.box2d.Body, com.badlogic.gdx.math.Vector2, com.badlogic.gdx.math.Vector2)">initialize</A></B>(<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A>&nbsp;bodyA,
260
           <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A>&nbsp;bodyB,
261
           <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A>&nbsp;anchor,
262
           <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A>&nbsp;axis)</CODE>
263
 
264
<BR>
265
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
266
</TR>
267
</TABLE>
268
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
269
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
270
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
271
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
272
</TR>
273
<TR BGCOLOR="white" CLASS="TableRowColor">
274
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
275
</TR>
276
</TABLE>
277
&nbsp;
278
<P>
279
 
280
<!-- ============ FIELD DETAIL =========== -->
281
 
282
<A NAME="field_detail"><!-- --></A>
283
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
284
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
285
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
286
<B>Field Detail</B></FONT></TH>
287
</TR>
288
</TABLE>
289
 
290
<A NAME="localAnchorA"><!-- --></A><H3>
291
localAnchorA</H3>
292
<PRE>
293
public final <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A> <B>localAnchorA</B></PRE>
294
<DL>
295
<DD>The local anchor point relative to body1's origin.
296
<P>
297
<DL>
298
</DL>
299
</DL>
300
<HR>
301
 
302
<A NAME="localAnchorB"><!-- --></A><H3>
303
localAnchorB</H3>
304
<PRE>
305
public final <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A> <B>localAnchorB</B></PRE>
306
<DL>
307
<DD>The local anchor point relative to body2's origin.
308
<P>
309
<DL>
310
</DL>
311
</DL>
312
<HR>
313
 
314
<A NAME="localAxisA"><!-- --></A><H3>
315
localAxisA</H3>
316
<PRE>
317
public final <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A> <B>localAxisA</B></PRE>
318
<DL>
319
<DD>The local translation axis in body1.
320
<P>
321
<DL>
322
</DL>
323
</DL>
324
<HR>
325
 
326
<A NAME="enableMotor"><!-- --></A><H3>
327
enableMotor</H3>
328
<PRE>
329
public boolean <B>enableMotor</B></PRE>
330
<DL>
331
<DD>Enable/disable the joint motor.
332
<P>
333
<DL>
334
</DL>
335
</DL>
336
<HR>
337
 
338
<A NAME="maxMotorTorque"><!-- --></A><H3>
339
maxMotorTorque</H3>
340
<PRE>
341
public float <B>maxMotorTorque</B></PRE>
342
<DL>
343
<DD>The maximum motor torque, usually in N-m.
344
<P>
345
<DL>
346
</DL>
347
</DL>
348
<HR>
349
 
350
<A NAME="motorSpeed"><!-- --></A><H3>
351
motorSpeed</H3>
352
<PRE>
353
public float <B>motorSpeed</B></PRE>
354
<DL>
355
<DD>The desired motor speed in radians per second.
356
<P>
357
<DL>
358
</DL>
359
</DL>
360
<HR>
361
 
362
<A NAME="frequencyHz"><!-- --></A><H3>
363
frequencyHz</H3>
364
<PRE>
365
public float <B>frequencyHz</B></PRE>
366
<DL>
367
<DD>Suspension frequency, zero indicates no suspension
368
<P>
369
<DL>
370
</DL>
371
</DL>
372
<HR>
373
 
374
<A NAME="dampingRatio"><!-- --></A><H3>
375
dampingRatio</H3>
376
<PRE>
377
public float <B>dampingRatio</B></PRE>
378
<DL>
379
<DD>Suspension damping ratio, one indicates critical damping
380
<P>
381
<DL>
382
</DL>
383
</DL>
384
 
385
<!-- ========= CONSTRUCTOR DETAIL ======== -->
386
 
387
<A NAME="constructor_detail"><!-- --></A>
388
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
389
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
390
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
391
<B>Constructor Detail</B></FONT></TH>
392
</TR>
393
</TABLE>
394
 
395
<A NAME="WheelJointDef()"><!-- --></A><H3>
396
WheelJointDef</H3>
397
<PRE>
398
public <B>WheelJointDef</B>()</PRE>
399
<DL>
400
</DL>
401
 
402
<!-- ============ METHOD DETAIL ========== -->
403
 
404
<A NAME="method_detail"><!-- --></A>
405
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
406
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
407
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
408
<B>Method Detail</B></FONT></TH>
409
</TR>
410
</TABLE>
411
 
412
<A NAME="initialize(com.badlogic.gdx.physics.box2d.Body, com.badlogic.gdx.physics.box2d.Body, com.badlogic.gdx.math.Vector2, com.badlogic.gdx.math.Vector2)"><!-- --></A><H3>
413
initialize</H3>
414
<PRE>
415
public void <B>initialize</B>(<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A>&nbsp;bodyA,
416
                       <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A>&nbsp;bodyB,
417
                       <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A>&nbsp;anchor,
418
                       <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A>&nbsp;axis)</PRE>
419
<DL>
420
<DD><DL>
421
</DL>
422
</DD>
423
</DL>
424
<!-- ========= END OF CLASS DATA ========= -->
425
<HR>
426
 
427
 
428
<!-- ======= START OF BOTTOM NAVBAR ====== -->
429
<A NAME="navbar_bottom"><!-- --></A>
430
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
431
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
432
<TR>
433
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
434
<A NAME="navbar_bottom_firstrow"><!-- --></A>
435
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
436
  <TR ALIGN="center" VALIGN="top">
437
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
438
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
439
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
440
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/WheelJointDef.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
441
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
442
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
443
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
444
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
445
  </TR>
446
</TABLE>
447
</TD>
448
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
449
libgdx API</EM>
450
</TD>
451
</TR>
452
 
453
<TR>
454
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
455
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>PREV CLASS</B></A>&nbsp;
456
&nbsp;NEXT CLASS</FONT></TD>
457
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
458
  <A HREF="../../../../../../index.html?com/badlogic/gdx/physics/box2d/joints/WheelJointDef.html" target="_top"><B>FRAMES</B></A>  &nbsp;
459
&nbsp;<A HREF="WheelJointDef.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
460
&nbsp;<SCRIPT type="text/javascript">
461
  <!--
462
  if(window==top) {
463
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
464
  }
465
  //-->
466
</SCRIPT>
467
<NOSCRIPT>
468
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
469
</NOSCRIPT>
470
 
471
 
472
</FONT></TD>
473
</TR>
474
<TR>
475
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
476
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.badlogic.gdx.physics.box2d.JointDef">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
477
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
478
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
479
</TR>
480
</TABLE>
481
<A NAME="skip-navbar_bottom"></A>
482
<!-- ======== END OF BOTTOM NAVBAR ======= -->
483
 
484
<HR>
485
 
486
                                <div style="font-size:9pt"><i>
487
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
488
                                </i></div>
489
 
490
</BODY>
491
</HTML>