0

Colliders for Quadrupedal Characters

Crispy 2 weeks ago in Game Creator updated by Marti (Lead Developer) 1 week ago 1

Deciding on how difficult it would be to set up this model in Game Creator before purchasing it. I need to set up the colliders so that the Player can pass through the legs. Here's what I have so far: I would need the Character Controller collider to be in the center, taking up the full height of the model, so the legs don't sink into the ground. But then I have to change the Collision Layer Matrix to make sure it doesn't collide with the Player. Then I'll add a few capsule colliders for each of the legs, and a sphere collider for the head. For every object that has a collider, I need a trigger "On Receive Shot" to reduce the health after being shot. But for the Character Controller I won't have this trigger, because then shooting through the legs will damage the Character.

Good? Any tips are appreciated.

Unity version:
Game Creator version:
1.0.6

That seems like it should work. Just remember to also set the Raycast Layer of the layer's gun to ignore the layer in which the spider's character controller is in. Otherwise it will impact in the space between the body and the floor.