Ability to use sphereCast

I have a few situations where I would like to use sphereCast instead of the normal rayCast. Unity also had that option and I’d love to have it in PlayCanvas too.

I agree a sphere cast would be useful. I was briefly looking at how it was done in bullet but for pulled away for other issues. Maybe I can convince Will to look into it as he’s currently looking in that area :grimacing:

I would add it as a feature request to the engine repo.

1 Like

You or I? :see_no_evil:

Added: https://github.com/playcanvas/engine/issues/2094

1 Like

Great. Thank you @yaustar!

This is now a PR for this:

Can anybody interested please review and submit and comments + feedback, please? Thank you!