
這是ode物理引擎中的關節類型和圖例
對于關節類型上圖是很直觀的了
1.球窩關節(Ball Socket)

2.合頁關節(Hinge)

3.插銷關節(Slider)

4.萬向輪關節(Univeersal)

5.Hinge2關節

6.PR關節

PR關節即A prismatic and rotoide joint
是插銷關節和荷葉關節的組合形式
7.PU關節
PU關節即A prismatic-Universal joint (JointPU)
他是插銷關節和萬向輪關節的組合形式

8.Piston joint 關節
Piston joint 關節類似于插銷關節但是她可以繞軸轉動

9.接觸面關節
物理受重力落體過程中就需要使用到接觸面關節


10.A Motor關節
該關節可以控制對象之間的相對角速度
11.另外還有LMotor關節,plane-2d 關節
下面是關機的生成函數列表,其銷毀函數是相同的
dJointID dJointCreateBall (dWorldID, dJointGroupID);
dJointID dJointCreateHinge (dWorldID, dJointGroupID);
dJointID dJointCreateSlider (dWorldID, dJointGroupID);
dJointID dJointCreateContact (dWorldID, dJointGroupID, const dContact *);
dJointID dJointCreateUniversal (dWorldID, dJointGroupID);
dJointID dJointCreateHinge2 (dWorldID, dJointGroupID);
dJointID dJointCreatePR (dWorldID, dJointGroupID);
dJointID dJointCreatePU (dWorldID, dJointGroupID);
dJointID dJointCreatePiston (dWorldID, dJointGroupID);
dJointID dJointCreateFixed (dWorldID, dJointGroupID);
dJointID dJointCreateAMotor (dWorldID, dJointGroupID);
dJointID dJointCreateLMotor (dWorldID, dJointGroupID);
dJointID dJointCreatePlane2d (dWorldID, dJointGroupID);
參考文獻:http://opende.sourceforge.net/wiki/index.php/Manual_%28Joint_Types_and_Functions%29
關于ode物理引擎的時候可參考ode庫自帶demo
當然也可以參考蓋莫游戲引擎sdk上面附有3個基于ode的物理模擬