Yes this works in BP, I’m using it to calculate speed in my VR project. It’s only an example, but it should also work for rotation and other things:
I store the last position outside the function bit it should give you the idea how it works.