Does PlayCanvas support shape casting?

I’m making a push mechanic for the player character that uses raycasting to detect entities in front of the player. However, I’ve found that raycasting is too narrow for effective detection, and using multiple raycasts doesn’t seem practical. I’ve noticed that other engines offer ‘shape casting’, but it appears PlayCanvas doesn’t support this feature yet, as seen in this GitHub pull request.

Could I get any help or advice on this? Thank you!

Meanwhile, you could use this helper to do the shape cast:

oh thanks! I’ll take a look