0 votes

I know how to move units in a 3D world and how to use look at to make the unit look to certain position. But I don't know how to implement both at the same time.
The idea is to click (with the right button of the mouse) in the position to which I want the unit to go, and keeping that same button, move the mouse in the position where I want the unit to look.

Something as seen in the photos:

Here you can see the action of moving and the arrow that represents the count, I want you to look at the units -> https://ibb.co/BVzqPQ5
And here you can see how the units are in the position -> https://ibb.co/ZM4Wrnp
And here you can see how the units are all looking in that direction -> https://ibb.co/QK2dTQ5

in Projects by (19 points)
edited by

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories