I was going through the Unity3D docs and some google search but can not find the answer and understand the mechanics of adding multiple components to
GameObject. The whole concept is simple - just use
AddComponent<$ComponentType$>() as much as you like and fill your
GameObject with features and traits, however there seem (in my view) to be some ‘special’ cases like this one f.e.:
Could I add more then one
Rigidbody2D to single
If I can then what of multiple Rigidbodies will return
Collider2D.attachedRigidbody when I’ll add some?
If not then where I could find the info about special cases like that one? Are there any?
Also what will happen if I add
GameObject with no body (
Collider2D.attachedRigidbody will be
null or same as parent body) and then attach
Rigidbody2D? Would the