LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Rigidbody.maxDepenetrationVelocity

Switch to Manual
public float maxDepenetrationVelocity;

Description

Maximum velocity of a rigidbody when moving out of penetrating state.

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