bevy_mod_raycast icon indicating copy to clipboard operation
bevy_mod_raycast copied to clipboard

Adding simple primitives

Open ValorZard opened this issue 3 years ago • 2 comments

2d: Circle, Box, Capsule 3d: Sphere, Cube/box, Capsule

Additionally, it would be nice if they could rotate and stuff, and if it would be possible for these shapes to merge. This would allow for a basic collision system to be formed.

ValorZard avatar Apr 09 '21 00:04 ValorZard

Also, a way to display these collision primitive would be nice as well

ValorZard avatar Apr 09 '21 00:04 ValorZard

I think visualization is better left to another crate, but it sounds like you are looking for the ability to raycast against these primitives to find the intersection?

Do you think parry would be a better fit for what you're trying to do? https://github.com/dimforge/parry

Is this what you're thinking for viz (animation)?: https://github.com/aevyrie/bevy_mod_bounding

aevyrie avatar Apr 09 '21 01:04 aevyrie