+1 vote

I made a 2D side scroller. I made so the players arm follows where the mouse is but it moves all around the screen and it isn't fixated at the shoulder. How to fixate it at the shoulder? (the player and arm is 2 different sprites)

arm_sprite.look_at(get_global_mouse_position())
Godot version 3.3.2
in Engine by (55 points)

1 Answer

0 votes
Best answer

Nevermind. It's called pivot point and you can set it by pressing V.

by (55 points)
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.