fishfolk / jumpy

Tactical 2D shooter in fishy pixels style. Made with Rust-lang 🦀 and Bevy 🪶
https://fishfolk.org/games/jumpy/
Other
1.6k stars 115 forks source link

feat(physics): Add extra colliders to jump_through tiles for collision with dynamics #931

Closed MaxCWhitehead closed 4 months ago

MaxCWhitehead commented 4 months ago

define some collision info for jump through wood tiles, used to create accurate colliders for collision with ragdoll / dynamics.

The standard tile is still there for all intents and purposes. If there is an extra collider defined, this collider is also added, and is set to solver group such that dynamics will collider with it.

This fixes dynamics colliding with the invisible chunk on thin tiles such as jump through wood.

I think we're done with the trickle of auxiliary features and next PR should be ragdolls 😆

MaxCWhitehead commented 4 months ago

looks like I messed up PR trying to merge main to fix cargo.lock - will fix

MaxCWhitehead commented 4 months ago

looks like I messed up PR trying to merge main to fix cargo.lock - will fix

Ok fixed