Sergey Bespalov
New member
Hello. I have written about this problem in other question, but that question was not only about this problem so I wanted to create more specific topic.
Main problem - If an object has the script "Health.cs" then colliders in children objects don't receive force from impact with bullets.
Only root object with Health.cs receives force. I can't use PuppetMaster to animate enemies because of it - body parts of a ragdoll don't receive force. (PuppetMaster)
Test:
1. There is a "White Crate" that is a parent of a game object "Health":
2. If I add "Health.cs" to "White Crate" then the crate will receive force.
3. But I add "Health.cs" to "Health" then the crate won't receive force.
Video:
Maybe is there other way to detect damage?
More about ragdoll: The root of rig has Health.cs, I shoot in head, body(root) receives force.
Main problem - If an object has the script "Health.cs" then colliders in children objects don't receive force from impact with bullets.
Only root object with Health.cs receives force. I can't use PuppetMaster to animate enemies because of it - body parts of a ragdoll don't receive force. (PuppetMaster)
Test:
1. There is a "White Crate" that is a parent of a game object "Health":
2. If I add "Health.cs" to "White Crate" then the crate will receive force.
3. But I add "Health.cs" to "Health" then the crate won't receive force.
Video:
Maybe is there other way to detect damage?
More about ragdoll: The root of rig has Health.cs, I shoot in head, body(root) receives force.