Hello,
So I have a bit of an unexpected problem. I have a little guy I want to launch out of a cannon, and I want the player to be able to click on him after he launches. I want the clickable area to be larger than the dude’s actual hitbox, so to accomplish this I created an empty game object, gave it a box collider, made it larger than the little guy’s hitbox, and then childed it to him. My problem is, this game object is somehow affecting the movement of the guy despite only having a small script, a box collider set to “Is Trigger”, and a transform.
Any piece of information that will help me fix this problem would be greatly appreciated.
Have you actually turn the collider into a trigger? A rigidbody uses all child colliders as well. It’s called a compound collider. If you tick the isTrigger checkbox on the collider it becomes a trigger and is not used as collider.
Keep in mind that triggers have different collision messages which start with OnTrigger…
Thanks so much for all your help guys, but I’ve tweaked a few things and managed to pretty well work around the problem, and the way I’ve set things up makes it unnecessarily complicated for me to implement the most likely solution posted here (by Xtro).