PROMETHIA-27 / bevy_mod_wanderlust

Apache License 2.0
66 stars 12 forks source link

Double check via raycast straight down #30

Closed Aceeri closed 1 year ago

Aceeri commented 1 year ago

First iteration on this, realizing more now that it'd probably be better to check "does this entity have a Compound shape?" and if so then do a per shape in that compound shape cast.

Aceeri commented 1 year ago

Well looking into it more I don't think a shapecast would help, nor is it implemented locally for shapes anyways. Compounds shapes are just an edge case here that I think this solves relatively well at least. We could add a couple more ray casts for robustness here but shrug.