RigidShape - integration and you... Tolerances are the key.
by Richard Ranft · in Torque 3D Professional · 08/01/2011 (3:59 pm) · 2 replies
I can't see where the integration variable is ever used. I noticed that changing the value in script had no effect and that the RigidShape object would occasionally sink through the terrain, ground plane or other collidables as well as passing through them or partially through them when the RS was moving at varying speeds. I thought that adjusting the integration variable (which ostensibly changes the number of physics steps processed per tick) might have some effect on this issue, but some investigation has led me to believe that this was never implemented.
I noticed that Rene seems to be the last person to pass through these files while he was updating the object type masks back on the 27th of April and I am wondering if anyone has looked closely at this class since TGEA. RigidShape seems to have appeared back with TGE 1.4 or 1.4.2 and has been carried since then.
Anyone have any thoughts on this? I'm wondering if I shouldn't construct a replacement....
I noticed that Rene seems to be the last person to pass through these files while he was updating the object type masks back on the 27th of April and I am wondering if anyone has looked closely at this class since TGEA. RigidShape seems to have appeared back with TGE 1.4 or 1.4.2 and has been carried since then.
Anyone have any thoughts on this? I'm wondering if I shouldn't construct a replacement....
About the author
I was a soldier, then a computer technician, an electrician, a technical writer, game programmer, and now software test/tools developer. I've been a hobbyist programmer since the age of 13.
#2
Anyway, I guess things would have to be very busy for this to make a large difference in performance.
08/02/2011 (2:58 pm)
Doh - found it - "Search is your friend." Around line 760 in RigidShape.cpp...Anyway, I guess things would have to be very busy for this to make a large difference in performance.
Torque Owner Richard Ranft
Roostertail Games
This seems to keep the RigidShape from falling through the ground and flying through objects. Seems - I only fiddled around with it for about 20 minutes, but normally in this timespan I have to reset the object at least 3 times.
In case anyone else is using this object....