AttackGorilla Posted September 10, 2020 Posted September 10, 2020 using C#, I have a fracture body and when I use "bf.Broken = true;" within Init() the body fractures fine. However if I use "bf.Broken = true;" within Update() the fracture body disappears. Is there a proper way to break within Update() or is there some other alternative? I am trying to code specific conditions for the body to meet before it fractures [basically if, then break].
AttackGorilla Posted September 11, 2020 Author Posted September 11, 2020 Figured it out. If anyone else runs into this issue you have to make sure you use "bf =new BodyFracture(mesh);" and all the other bf related parameters within the UPDATE() instead of within the INIT().
Recommended Posts