Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | maZd |
I’m new with programming and i just want to rotate a empty box around it’s center .
i didn’t find the answer anywhere.
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | maZd |
I’m new with programming and i just want to rotate a empty box around it’s center .
i didn’t find the answer anywhere.
Reply From: | Bimi124 |
Use rotate()
(if your box is a node2d
or a node extending node2d
. Link to the documentation: https://docs.godotengine.org/en/stable/classes/class_node2d.html?highlight=node2d#class-node2d-method-rotate