Options
All
  • Public
  • Public/Protected
  • All
Menu

This structure is used to report contact point results.

Hierarchy

  • b2ContactResult

Index

Constructors

Properties

The contact id identifies the features in contact.

normal: b2Vec2

Points from shape1 to shape2.

normalImpulse: number

The normal impulse applied to body2.

position: b2Vec2

Position in world coordinates.

shape1: b2Shape

The first shape.

shape2: b2Shape

The second shape.

tangentImpulse: number

The tangent impulse applied to body2.

Generated using TypeDoc