0 votes

How am I able to control the rotation of a character in Godot(Visual Script)?

Or to to control the rotation with a other button than listed under the block "Action" ?

in Engine by (20 points)

2 Answers

0 votes
by (521 points)
0 votes

You can use func _input() to listen for all input events and then apply rotation to your character based on those input events. KinematicBody2D.rotate()

by (114 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 Frequently asked questions and 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 [email protected] with your username.