How to calculate next transform location based off distance?

Agree.

Played with it a bit longer: projectiles now bounce, have life span in seconds (though disabled in the test), cause damage and if they case damage they destory (swap and remove index from array). Moved the function to blueprint library to compare.

Blueprint with CPP function:

CPP:

1 Like