Hello everybody!
I trying to make explosion physics simulation. And i have a problem: CircleCastAll behavior as line - through all objects. But I want behavior as ray - considering only first obstacle. I attached simple example what I want.
Hello everybody!
I trying to make explosion physics simulation. And i have a problem: CircleCastAll behavior as line - through all objects. But I want behavior as ray - considering only first obstacle. I attached simple example what I want.
Use CircleCast instead of CircleCastAll then. It will only detect the first object it hits.