Fields

relative_velocity:Vector3

  • The relative velocity of the collision object as observed from the other object.

position:Vector3

  • World position of the contact point.

own_group:Hash

  • The collision group of the own collision object.

other_position:Vector3

  • The world position of the other collision object.

other_mass:Float

  • The mass of the other collision object in kg.

other_id:Hash

  • The id of the instance the collision object is in contact with.

other_group:Hash

  • The collision group of the other collision object.

normal:Vector3

  • Normal in world space of the contact point, which points from the other object towards the current object.

mass:Float

  • The mass of the current collision object in kg.

life_time:Float

  • Life time of the contact, not currently used

distance:Float

  • The penetration distance between the objects, which is always positive.

applied_impulse:Float

  • The impulse the contact resulted in.