I’m going through the VR template and I had a question about how PredictProjectilePath works. When you want to teleport this blueprint is calling the PredictProjectilePath every frame. However each call to PredictProjectilePath has a max sim time of 2s. I’m having trouble figuring out how this works. If my game is running at 100 fps I would call the PredictProjectilePath function 100 times. Each of those can take up to 2s, yet I can act on the results in a single frame. Can somebody shed some light on how this is possible? It clearly is because it works, but I’m just having trouble figuring out how the timing works in all of this. If the Max Sim Time actually gets fully utilized how is it that my results are available in a single frame? Is it just that the max sim time is never used in applications where you need the results in a single frame (so only short paths can be predicted?) I’m having trouble thinking of applications where a long sim time is viable in a game.
Thanks for any clarification on this.