Skip to content

(Solved)Help with mouse input for third person game #246

Closed Answered by ramokz
WyvernZ22 asked this question in Question / Help Wanted
Discussion options

You must be logged in to vote

If I understand it correctly, you essentially want to make the character turn towards the direction you've moving the character in? E.g. if you make your character go left, the character model should also be turning left?

Think what you're looking for isn't a look_at() solution, but rather a rotation setter, where you set the rotation of the character relative to the camera's rotation and based on the direction you press. The current look_at() approach doesn't seem to take that into account?

Though since this sounds more like a general code question, rather than specific to this addon, so you will likely get a better answer on dedicated game dev / Godot forums or channels. Will also likel…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ramokz
Comment options

Answer selected by WyvernZ22
@WyvernZ22
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants