Are there some node parenting rules?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ether

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?

:bust_in_silhouette: Reply From: magicalogic

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.