Question about projectiles and rigidbodies

Should we be adding the rigidbody onto the enemies, or should we put this on our projectiles?

As a general rule, anything with a collider that is expected to move around should have a rigidbody. You only need one rigidbody on the main object, regardless if the children have colliders or not.

So your enemies and your projectiles should probably both have a rigidbody.
You’ll have to decide if they should be Kinematic or Dynamic rigidbodies based on how you are using them. My guess is they should both by kinematic.

2 Likes

I’ll keep that in mind, thanks Anthony!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.