|
Post by skatesa207 on Mar 25, 2021 19:13:33 GMT
I've noticed an issue and wanted to see if anyone else has experienced this or knows what might be causing it. Adding a Ragdoll system seems to sometimes trigger two damage instances when firing a gun at an enemy; it appears to happen when different colliders from the ragdoll are close to each other so I tried decreasing the size to better fit the model, but not noticing a difference, or at least much of one and I need to scale the size down farther. I'm new to 3D game dev, so I don't know if I should just overall make all the colliders more tailored because I really hardly touched them after allowing the tool to build the characters. I've provided a short gif showcasing what I'm running into, thanks for taking a look.
|
|
|
Post by Invector on Apr 2, 2021 16:43:38 GMT
You must use different layers on the Character main Capsule Collider (ex: Player or Enemy) and the Ragdoll colliders (BodyPart) Then in the ShooterManager you need to set one of these layers to be the DamageLayer, otherwise it will trigger 2x on 2 different layers
|
|