bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Raycasting for primitives.

Open Olle-Lukowski opened this issue 1 year ago • 4 comments

I have recently started working on https://github.com/Olle-Lukowski/bevy_contrib_raycast to allow for raycasts on both 2d and 3d primitives. I thought I would open up a tracking issue here, so more people can review / help out with the code.

Here is a checklist of what needs to be done:

  • [x] Implement RayCast2d for all 2D primitives (quick and dirty, to get a working example)
  • [ ] Implement RayCast3d for all 3D primitives (quick and dirty, to get a working example)
  • [ ] Optimize and clean up 2D impls.
  • [ ] Optimize and clean up 3D impls.
  • [ ] Add tests.
  • [ ] Write some docs.
  • [ ] Get reviews, fix any issues.

Olle-Lukowski avatar Jun 01 '24 12:06 Olle-Lukowski

@alice-i-cecile should we close this in favor of #12365 ?

janhohenheim avatar Sep 27 '24 09:09 janhohenheim

IMO no: this issue is more specific and still desired. The other issue is largely complete though.

alice-i-cecile avatar Sep 27 '24 14:09 alice-i-cecile

I have implemented for cuboid with tests https://github.com/Olle-Lukowski/bevy_contrib_raycast/pull/2

BenjaminBrienen avatar Sep 29 '24 02:09 BenjaminBrienen

Implemented everything in #15724 :)

I'll most likely split it into several smaller PRs over the 0.16 cycle.

Jondolf avatar Oct 10 '24 09:10 Jondolf