How to calculate next transform location based off distance?

Did the cpp in blueprint just to compare. This is what I got:

Blueprint:

CPP:

Both do exactly the same, including the bounce on hit.

1 Like