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.tangentImpulse

public float tangentImpulse;

Description

Gets the impulse force applied at the contact point which is perpendicular to the ContactPoint2D.normal.

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