Using iTickable vs overriding integrateObject
by Cooper Sellers · in Torque Game Builder · 03/09/2006 (5:31 pm) · 2 replies
Anyone have any insight on using iTickable vs simply overriding integrateObject? I have done it both ways but am unsure if there are any gotchas I am potentially flirting with here. I am currently using iTickable just because it seems that is what the object was designed for, but perhaps it is just as easy and safe to override integrateObject?
About the author
#2
03/10/2006 (8:39 am)
Thanks for that bit of clarification. For what I'm currently doing, it works fine either way I go, but I'll defer to single inheritance and a simple override.
Torque 3D Owner Stephen Zepp
For TGB, I'd certainly stick with integrateObject, since it's part of the core TGB physics and simulation processing...you would basically wind up re-implementing what integrateObject does within your iTickable implementation for just about anything you would want to do.