API Docs for: 0.3.0
Show:

FrictionEquation Class

Constrains the slipping in a contact along a tangent

Constructor

FrictionEquation

(
  • bi
  • bj
  • slipForce
)

Parameters:

Item Index

Methods

Properties

Methods

setSlipForce

(
  • slipForce
)

Set the slipping condition for the constraint. The friction force cannot be larger than this value.

Parameters:

  • slipForce Number

Properties

ri

Float32Array

Relative vector from center of body i to the contact point, in world coords.

rj

Float32Array

Relative vector from center of body j to the contact point, in world coords.

t

Float32Array

Tangent vector that the friction force will act along, in world coords.