This is the Essence of a conversation I had in Private with Jan, that he thought should be posted here for the benefit of others attempting Aircraft development
Hi Jan
I really want to understand how the TMC contact positions and TMD Wheel Hulls and Physics Rigidbodies, affect the models position on the ground. Front wheels work great but rear end falls through the ground and I cant understand why? It looks to all intents and purposes as the Camel and DR1 so don't understand why what I did, did not work. Collision code is not currently present in the TMD. I tend to take that out for starters because it always throw out a lot of errors to start with (although I think I understand now why that is). Three Spheres appear correctly positioned in the TMC for the wheel contacts with ground.
Note: The Snipe Tail skid pivots to provide a degree of steering unlike the Camel and DR1 which is fixed, but it doesn't move as much as the rudder (confined by a slot in the fuselage). That is why I've used a 0.25 scaling of the Rudder output for the Tailskid graphics animation
KR Matt
Visualization of Rigidbody set up... wheel rigidbodies are basically a box the size of the wheel so didn't bother to create those.
TMC Contacts Code...
<[vec32array][ContactSpheres][ ( 0.01334 0.7407 -1.29756 0.365931) ( 0.01334 -0.7407 -1.29756 0.365931) ( -4.3579 0.0 -0.38231 0.0079985) ]>
Tailskid TMD Physics Code...
// TAIL Gear
<[rigidbody][TailGear][]
<[float64][Mass][10.0]>
<[tmvector3d][InertiaLength][ 0.149691 0.715425 0.068828 ]>
<[tmvector3d][R0][ -4.57681 0.000000 -0.44048 ]>
<[tmmatrix3d][B0][ 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 ]>
>
<[multibody_joint][JointTailGearFuselage][]
<[string8][Body0][Fuselage]>
<[string8][Body1][TailGear]>
<[tmvector3d][X0][ 0.0 1.0 0.0 ]>
<[tmvector3d][R0][ -4.250082 0.000000 -0.363211 ]>
<[float64][Kp][50000.0]>
<[float64][Kd][50.0]>
<[uint32][Type][0]>
<[string8][InputPosition][ServoRudder.Output]>
>
Display More
Tail Skid TMD Graphic Body Code....
<[hingedbodygraphics][TailGear][]
<[string8][GeometryList][ tailskid ]>
<[uint32][PositionID][Fuselage.R]>
<[uint32][OrientationID][Fuselage.Q]>
<[uint32][InputID][ServoRudder.Output]>
<[tmvector3d][Axis][ 0.0 0.0 -1.0 ]>
<[tmvector3d][Pivot][-4.178 0.000000 0.175]>
<[float64][Scaling][0.25]>
>