0 votes

When i set the position of a staticbody3d (includes mesh instance and collision shape) using either position or global_position, it adds an extra amount on top of it. for example when i set a position to be Vector3(5,1,5), in the remote section of the editor, it puts it at Vector3(5.12,1.785,5.346). i also dont add any extra position anywhere to it.

Godot version 4 beta 6
in Engine by (26 points)

try using transform.origininstead

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 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.