Hello,
I am trying to roll a cube in Unreal but I am not able to do it. For visualization purpose I am creating something similar to this : https://www.youtube.com/watch?v=3nFpUDAzysY
For this I attached a URotatingMovementComponent and tried to offset the pivot in order to rotate it.
I have attached the code that does it. But it does not work.
Resetting the rotation after 1 second
Addition of Rotating Component
Function that rotates up when the “Up” button is clicked