I’m using a slightly modified version of the rolling ball tutorial, where I have a sphere that inherits from the pawn and I’m adding force to it (instead of torque) to move it around. I have a 3d model for a hat that I want to add onto the sphere, but I want it to always stay on the ‘top’ (relative to the world not the sphere) and always pointing upwards.
I’ve tried a couple of things but they didn’t seem to work, wonder what’s the best way to do it?
Things I tried:
storing the initial offset and rotation of the hat and then updating each delta step. but the hat seems to lag behind when the ball is moving fast
instead of having the ball as the root component, add the ball and hat to a geometry collection. But it seems like I cant add force properly this way, and I want the movement of the player to come from the ball rolling.
Any help or suggestions would be appreciated