Property change for STICK?
by Drew -Gaiiden- Sikora · in Torque Game Builder · 12/08/2006 (5:41 pm) · 0 replies
I'm wondering if this is a possible tweak for the STICK method of object collision. I'm working on a block-dropping game, and I figured it would be great to be able to set a constant down force to each block and just let them stack atop each other - when a block beneath them is deleted, they'll all just fall down thx to awesome TGB physics yay!
Unfortunately there's a small snag - it seems that when an object with a constant force collides with another object, and both objects are set to STICK mode, they don't ever actually stop colliding. What I get is an endless stream of callbacks from the two objects banging into each other. I can understand this behavior in CLAMP mode, since objects are still supposed to be allowed to slide, but I would think that in STICK mode, regardless of any physics, two objects that are stuck to one another have no reason to generate any more collisions.
If this is possible I think it would be a good addition to the STICK property.
Unfortunately there's a small snag - it seems that when an object with a constant force collides with another object, and both objects are set to STICK mode, they don't ever actually stop colliding. What I get is an endless stream of callbacks from the two objects banging into each other. I can understand this behavior in CLAMP mode, since objects are still supposed to be allowed to slide, but I would think that in STICK mode, regardless of any physics, two objects that are stuck to one another have no reason to generate any more collisions.
If this is possible I think it would be a good addition to the STICK property.