How to make a character move based on camera orientation?

I created a scene with a character (it can only move on the “XYZ” axes for the moment) the problem is that I want to ensure that it moves according to the orientation of the camera like a third person camera in a video game, I don’t have the solution for now, thanks in advance :+1:

Like this?

https://playground.babylonjs.com/#64NDCV#2

1 Like

yes absolutely, I will try to see if it works with my code, thank you :grinning:

1 Like