Quantcast
Channel: Questions in topic: "parenting"
Viewing all articles
Browse latest Browse all 302

Does the parent Rigidbody compensate for children?

$
0
0
This is concerning 2D objects. From what I understand and experienced, having a Collider on a moving object without giving it a Rigidbody is inefficient. Also, from what I have read here, a child object with a Collider but no Rigidbody would have messages such as OnCollisionEnter2D passed to the parent if the parent has a Rigidbody. I am wondering whether having a Rigidbody on a parent would compensate for the children not having Rigidbodies on them, even though the children would move independent of the parent.

Viewing all articles
Browse latest Browse all 302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>