Is there a way to do a collision sweep test using a custom collision shape? I would like to sweep a cylinder shape (vehicle tire) to check for ground contact points. The standard sphere or capsule stick out too much.
You can use custom mesh collision shapes, but these are incredibly inefficient, slow to process and inaccurate - so it’s better to come up with the mathematical alternative (I did something similar for a cone, but I only needed to find the objects inside that cone, not much else).
Unfortunately you can’t test custom shapes, the sweep profiles are determined by the PHYSX side of things I believe. You might be able to look deeper into the PHYSX stuff and see how they do their own tyres for Wheeled Vehicles.