|
Post by infofield on Jun 7, 2021 15:36:52 GMT
Tell me how to make the AI enemy when he is in a jump can take damage from the player's blow? The enemy's colider who receives the blow remains below ... I would be grateful for any help.
|
|
|
Post by infofield on Jun 8, 2021 1:19:40 GMT
The enemy can be hit when he is on the ground, but when he jumps (is in the air) the capsule collider remains below. If I understand correctly, the capsule collider is responsible for taking damage. How to make the enemy take damage from the player's blows while in the air (when his capsule collider remains below). ---------------- I figured out the problem, the enemy jumps with the animation and the cylinder collider can go up due to physics, so the collider stays at the bottom during the jump animation. Is there a way to add a bone collider that will follow the animation and react to hits when it takes damage? I would be grateful for any ideas.
|
|
|
Post by infofield on Jun 8, 2021 1:53:38 GMT
I figured out the problem, the enemy jumps with the animation and the cylinder collider can go up due to physics, so the collider stays at the bottom during the jump animation. Perhaps someone will need a solution from this link in the documentation on page 10. www.invector.xyz/aidocumentation
|
|