I’m trying to make a Wolfenstein 3D inspired 3D Game and can’t manage to get the sprite rotating correctly. The enemy is a animated 3D Sprite and has the behaviour “Billboard”.
What is the expected result
Based on how the Player looks to the Enemy, the enemy should rotate.
What is the actual result
The enemy sprite is set to “StandingFrontRight” all the time.
Related screenshots
The soldier should currently have the sprite for front-facing.
This is the code which should rotate the enemy (currently only from the front to the right) (ignore the windows 7 taskbar, its actually windows 10)

