Documentation

Unity Engine

Unity Engine

maxDepenetrationVelocity

Maximum velocity of a rigidbody when moving out of penetrating state.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float maxDepenetrationVelocity { get; set; }

Remarks

Use this property when you want to make your bodies move out of colliding state in a more smooth way than by default.