Game Development Community

Ball and Chain physics?...

by Matt Van Gorkom · in Torque Game Builder · 03/05/2005 (7:04 pm) · 11 replies

Before I go and struggle to do this only to find out it can't be done:
In T2D can I create a ball and chain that will react like a ball and chain would? Knocking the ball sends ripples through the chainlinks and the ball swings on the chain. Just wondering if such a thing can be done :)

#1
03/05/2005 (11:23 pm)
Well, you can get about half-way there w/ the default T2D physics. You can set-up a bunch of force-based mounts (experiment with the numbers to get the proper values) between chain links and they will move according to physics. However, we don't support constraints on mounts, so you wouldn't get behavior that acts exactly like a realistic chain.

Please see the documentation or example code here on the forum (or wait for some forthcoming docs) for more info on setting up mounts.
#2
03/06/2005 (3:05 am)
Yes, as Josh said, you can do unconstrained chains etc.

We'll be looking at constraints and IK stuff but at a later date.

- Melv.
#3
03/06/2005 (4:03 am)
Gives me an idea how the chains in Gish were done. Any ideas how the Gish hero movement was done?
#4
03/06/2005 (5:36 am)
Thanks for the info. It doesn't have to be perfect.

@Joe: I know the Gish guys were thinking about doing some tutorials on how they did Gish, but they didn't have time. I'd like to see how they did it also :)
#5
03/06/2005 (10:47 am)
Gish used some springs to control Gish's physics. There actually are some write-ups on it, and Alex from Chronic Logic said he may actually contribute his physics stuff to T2D after a little while here!
#6
03/06/2005 (12:32 pm)
I'm sure there are write-ups but are they public accessible?

Last year I was in email contact with some guys from Chronic Logic but they never mentioned any write-ups.
#7
03/06/2005 (2:20 pm)
I'm having difficulty finding anything either. Could ya help us out here Josh?
#8
03/07/2005 (3:06 pm)
I found this site www.sodaplay.com and have a better concept of how Gish was done. However, this is not the site for Gish write-ups.
#9
03/26/2005 (1:42 pm)
Joe, I've been looking for that site for the longest time after I lost my bookmarks over a year ago and couldn't for the life of me remember what it was called or what terms to google up to find it. Thanks! :)
#10
04/08/2005 (7:39 pm)
Way cool!
#11
04/08/2005 (8:22 pm)
Did Gish use any Torque 2D? I thought it was their own custom engine? What's the correlation?