Skip to content

eulerjs API / @eulerjs/core / ROUND_ROLLING_RESISTANCE

ROUND_ROLLING_RESISTANCE ​

ts
const ROUND_ROLLING_RESISTANCE: 0.02 = 0.02;

Defined in: packages/core/src/colliders/Collider.ts:14

The rolling resistance a ball, capsule, cylinder or cone has unless told otherwise: without any, one rolling on flat ground keeps all its speed for ever, as an ideal rigid body would, where a real one is slowed by the give in both surfaces. A barrel knocked rolling at 1.5 m/s comes to rest in about 12 s.

Released under the MIT License.