Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Rigidbody.maxDepenetrationVelocity

Switch to Manual
public var maxDepenetrationVelocity: float;

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.

Did you find this page useful? Please give it a rating: