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

2.合頁關(guān)節(jié)(Hinge)

3.插銷關(guān)節(jié)(Slider)

4.萬向輪關(guān)節(jié)(Univeersal)

5.Hinge2關(guān)節(jié)

6.PR關(guān)節(jié)

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

8.Piston joint 關(guān)節(jié)
Piston joint 關(guān)節(jié)類似于插銷關(guān)節(jié)但是她可以繞軸轉(zhuǎn)動

9.接觸面關(guān)節(jié)
物理受重力落體過程中就需要使用到接觸面關(guān)節(jié)


10.A Motor關(guān)節(jié)
該關(guān)節(jié)可以控制對象之間的相對角速度
11.另外還有LMotor關(guān)節(jié),plane-2d 關(guān)節(jié)
下面是關(guān)機的生成函數(shù)列表,其銷毀函數(shù)是相同的
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);
參考文獻(xiàn):http://opende.sourceforge.net/wiki/index.php/Manual_%28Joint_Types_and_Functions%29
關(guān)于ode物理引擎的時候可參考o(jì)de庫自帶demo
當(dāng)然也可以參考蓋莫游戲引擎sdk上面附有3個基于ode的物理模擬