dimforge / dimforge/nphysics

2D Velocity Damping

Open
#190 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.6k
Forks
120
PR merge metrics
No merged PRs in 30d

Description

Follow-up of our discussion on discord:

I'm making a top-down 2d tile game, which requires basic collisions and movement mechanics. When a kinematic/dynamic object collides with another dynamic object, since there is no "ground" per se, the objects will travel indefinitely with constant velocity. Applying friction is a pretty simple matter of looping over all of the colliders in the world, but getting the friction right with respect to the material and mass isn't as easy in a way that isn't fragile.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.