I have a Unity project in which there is a 2D game world that consists of static circle colliders. The player is dynamic. I need collision point to check whether player’s trajectory(path from which he came from) tangent to circle collider or not, so I can’t use Trigger. But I also need to allow player pass through collider. I cannot use Trigger, because I need collision point. How can I solve the problem? Thanks!
You can do it with triggers, but you’d have to use some math. Because you know what you hit are circles, and maybe the radius too, you should be able to calculate whatever you need from that, and apply whatever forces or calculate if it’s tangent by using the velocity of the moving object in relation to the static circle.