0 votes

I am new to Godot and I am writing a simple game to get my feet wet as it were. I have put animated spherical MOBS in a game that autonomously travel around a maze. The MOB node type is Area. I animate the translation of the MOBS with an AnimationPlayer node but would like to rotate the MOBS according to the translation and sphere diameter to avoid having to manually animate the rotations. I would be grateful if someone could point me in the right direction. I have tried scripting this in physicsprocess(delta) but can't get it smooth or accurate. Also I cannot see how to get the bounding box of the MOB to determine the diameter. Thank you.

Godot version v3.3.1
in Engine by (12 points)

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.