Player and camera movement

Hi~!

I need help on how to make the camera follow the players’ orientation(?)/rotation, such as when “D” is pressed (going right) the camera will rotate to the right (still maintaining its position behind the character-the character’s back). Just to not be confused with the rotation using the mouse like this one.

here’s the link to my game>< : PlayCanvas | HTML5 Game Engine

Thank you!

Hey!

Are you looking to add some sort of camera interaction, or should it simply follow/rotate without input for specifically the camera?

just the camera following the character wherever it faces…><

1 Like

If you want the easiest approach, you could simply parent the camera to the player entity, by dragging the camera into the player entity in the left menu. If this method does not work for your specific needs, please let me know!