jasontuttle
New member
Hi Justin,
I'm trying to find a way to detect when my player jumps on top of an enemy and the player's foot collides with an enemy's head. Both my player and enemy are UCC characters. The enemy is AI controlled using Behavior Designer.
The problem I'm running into is that collision between player and enemy is currently controlled by the default UCC capsule colliders. I've tried adding child objects with trigger colliders to the enemy's head and players feet, but the default UCC capsule colliders get in the way of detecting the head/foot collisions. As a result, the collisions don't look right. Collision gets detected when the player is floating above the enemy, before his foot touches the enemy's head.
Is there a way around this problem?
Thanks in advance for your help!
I'm trying to find a way to detect when my player jumps on top of an enemy and the player's foot collides with an enemy's head. Both my player and enemy are UCC characters. The enemy is AI controlled using Behavior Designer.
The problem I'm running into is that collision between player and enemy is currently controlled by the default UCC capsule colliders. I've tried adding child objects with trigger colliders to the enemy's head and players feet, but the default UCC capsule colliders get in the way of detecting the head/foot collisions. As a result, the collisions don't look right. Collision gets detected when the player is floating above the enemy, before his foot touches the enemy's head.
Is there a way around this problem?
Thanks in advance for your help!