User Tools

Site Tools


aircraft:tmd:collision

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
aircraft:tmd:collision [2019/07/20 18:27] – created jhaircraft:tmd:collision [2019/07/20 18:31] – [collisionsphere] jh
Line 2: Line 2:
  
 A collision happens when a part of the aircraft contacts the ground surface. When the part is made of rubber and can rotate this usually just fine and preferred over all other parts of the aircraft ;-) A collision happens when a part of the aircraft contacts the ground surface. When the part is made of rubber and can rotate this usually just fine and preferred over all other parts of the aircraft ;-)
 +
 When the part passes through the ground a force is generated which is proportional to the depth below the ground (in meters) times the factor K (N/m) plus the relative velocity (in meters per second) times the factor D (N per m/s). The force acts on the [[aircraft:tmd:rigidbody|rigidbody]] assigned in the ''Body'' attribute. When the part passes through the ground a force is generated which is proportional to the depth below the ground (in meters) times the factor K (N/m) plus the relative velocity (in meters per second) times the factor D (N per m/s). The force acts on the [[aircraft:tmd:rigidbody|rigidbody]] assigned in the ''Body'' attribute.
  
-A critical crash with any part that is not a wheel can cause the aircraft to be reset, when the designer of the aircraft, us, flags the part as important and set the ''CrashOnContact'' property to true.+A critical crash with any part that is not a wheel can cause the aircraft to be reset, when the designer of the aircraft, us, flags the part as important and sets the ''CrashOnContact'' property to true.
  
  
Line 48: Line 49:
  
 ==== collisionsphere ==== ==== collisionsphere ====
 +
 +A spherical object at position ''R0'' with a set ''Radius'' that repels the ''Body'' from the ground. Used for small skids or a tail gear without a wheel.
  
 <code>            <[collisionsphere][LeftWingWheel][] <code>            <[collisionsphere][LeftWingWheel][]
Line 59: Line 62:
  
 ==== collisionblade ==== ==== collisionblade ====
 +
 +When the geometry contacts the ground a part is damaged, e.g. when the left side propeller disk hits the ground the left side propeller is set to damaged.
  
 <code>            <[collisionblade][CollisionPropellerLeft][] <code>            <[collisionblade][CollisionPropellerLeft][]
                 <[string8][Body][Fuselage]>                 <[string8][Body][Fuselage]>
                 <[string8][Geometry][LeftPropellerDisc]>                 <[string8][Geometry][LeftPropellerDisc]>
-                <[string8][DamageOnCrash][PropellerLeft.Damage]>+                <[string8][DamageOnCrash][LeftPropeller.Damage]>
             >             >
 </code> </code>
  
aircraft/tmd/collision.txt · Last modified: 2019/07/20 18:38 by jh