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

Script language

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

ContactPoint2D.normalImpulse

public float normalImpulse;

Description

Gets the impulse force applied at the contact point along the ContactPoint2D.normal.

The impulse force is applied to both the rigidbody and the otherRigidbody at the point along the normal and the inverse normal.