0 votes

For example in Unity sprite may have rigidbody2d ,
something like sprite would have a child node rigidbody2d in Godot style.

But in Godot it looks usually RigidBody2D has sprite as a child.
So how to know what to parent to what in Godot in general?

in Engine by (14 points)

1 Answer

0 votes

Depends on the behavior you want to achieve.
For instance if you want to use a scene as a physics body with much of the behavior for "free" you use nodes like rigidbody2d but if you want to implement your own physics you can just use a sprite only.

by (1,051 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.