How do I make my character move in the direction they are looking

Basically title. I want to make a tank like control scheme for a player but cant define the direction it is looking at. When I use Character controller the rest of the movement from my character doesnt work anymore so I would like to do it with set velocity or force if thats possible.

you need to calculate the forward-looking vector, one can do that based on rotation . . .

then, just add that to the current position every frame, or use it for the velocity vector . . .

the math to calculate the forward-movement vector is bit tricky, you need the cosine, and sine value, those are how to then make a forward-moving vector . . . . :slight_smile: :hushed: