I have a cube which can be carried around by the player.
I need the cube to have one side facing the player so I’ve used the player rotation to set the cubes rotation.
This works well but I’m having trouble when I want to rotate the cube.
I want to be able to rotate the cube up/down/left/right with a key press.
I had it working when the player wasn’t rotated at all but as soon as the player turns and tries to rotate the cube it doesn’t work correctly.
Any Ideas?
How are you attaching the cube to the player? If attached it should automatically pick up the player rotation without doing anything. And once attached you should be able to use “Add local rotation” in order to rotate relative to the base attachment.