Crack the whip?
by Alex Rice · in Torque Game Builder · 08/20/2005 (3:16 am) · 5 replies
I'm learning T2D and the physics system so mounted a chain of sprites. I want to make a crack-the-whip type of effect where there is a centrifugal force *** acting on the sprites. Currently I just have a chain that follows the a path. Applying forces or linear velocitiy on the chain sprites seems to be overridden my the mount feature, not surprisingly. Would this require C++ hacking on the mount() system or is it scriptable do you think?
No whip effect, just following the mouse.

*** Actually I don't know is it centrifugal force or just intertia which causes this effect?
No whip effect, just following the mouse.

*** Actually I don't know is it centrifugal force or just intertia which causes this effect?
About the author
#2
08/20/2005 (4:59 am)
There is a post around here somewhere from somebody who integrated ODE with T2D, so maybe that would help you with the effect you want.
#3
08/20/2005 (10:33 am)
OK thanks
#4
Let everyone know if you've had any luck otherwise.
08/21/2005 (10:42 am)
I'm not sure if this would work for your specific needs, but would it be possible (first unmount the objects... just have them follow the mouse at a static distance) for the first object to obtain an applied force and have all subsequent sprites pass an exponent of that force? Let everyone know if you've had any luck otherwise.
#5
www.garagegames.com/blogs/20342/7908
08/21/2005 (6:24 pm)
Good idea about the ODE. In fact Gary's ODE demo for T2D has a chain of sprites which can do crack-the-whip if you hold gravity down right until the chain folds over, then release gravity, getting a definite crack-the-whip effect.www.garagegames.com/blogs/20342/7908
Torque Owner Teck Lee Tan