How to make an actor which can go through eveything at a specific speed?
I have an actor which can go fast in the map. I want that actor to go through everything on its road when it goes fast. To do that, I made a box component which is a bit bigger than its collision shape. When the overlap event fires, I check its speed and if it is faster than a specific value, I change the object's collision channel, so it can go through that object. If it is not fast enough, then the physics handle the rest, it crashes the object. However, this solution sometimes works, sometimes not. I think, firing overlap event depends on frame rate. Is there any solution to achieve what I want?
Yes, when it comes to overlapping, frame rate is crucial. What if you just set the objects to ignore the actor once the actor reaches the needed speed and to block once speed decreases? Or even better, if you can set the same collision preset for all those objects, you can tell the actor to ignore them once faster than a certain speed. With no need to check anything with overlapping volumes.
Follow this question
Once you sign in you will be able to subscribe for any updates here