iDevGames Forums
Ragdoll and cloth physics - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Ragdoll and cloth physics (/thread-7046.html)

Pages: 1 2


Ragdoll and cloth physics - Skorche - Jun 3, 2003 10:06 AM

I've been trying to make a physics system that would allow soft and rigid body simulation. It's mostly been done using a lot of geometry and trig, with a algorithm for every plasible type of collision and movement.
I've made it way too complicated every time and have never made anything working. I keep thinking that there should be a simpler way, after all it's only an approximation.

Does anyone have some simple example that they have made? Like a simple chain hanging from a ceiling? A link maybe to a site that has this kind of information.


Ragdoll and cloth physics - Dr. Light - Jun 3, 2003 10:13 AM

One point connected to another point? Wouldn't you just start with the affected point, then work outward with a simple formula to figure the angle/velocity relative to the first point and second point?

I'm just guessing/thinking.


Ragdoll and cloth physics - Skorche - Jun 3, 2003 10:59 AM

Well that's what I tried, but it get's really complicated when you realize that one point moving affects all the others in the system. That's what I mean when I said that an approach using just simple geometry doesn't really work very good.


Ragdoll and cloth physics - Mark Levin - Jun 3, 2003 10:59 AM

There's an article on Gamasutra about Verlet particle systems that may be what you're looking for. I don't have the link handy, but it's called something like "Advanced Character Physics".


Ragdoll and cloth physics - Tycho - Jun 3, 2003 11:00 AM

http://www.gamasutra.com/resource_guide/20030121/jacobson_01.shtml

Free membership required, but you won't regret it.


Ragdoll and cloth physics - Dr. Light - Jun 3, 2003 11:05 AM

I mean work outward from that point, using the same formula for each new set of directly connected points.

Still complicated as far as sorting them though.


Ragdoll and cloth physics - sealfin - Jun 3, 2003 11:28 AM

NeHe has a tutorial on rope physics, if that's of any helpĂ–


Ragdoll and cloth physics - OneSadCookie - Jun 3, 2003 01:22 PM

I highly recommend the Gamasutra article.

I have a C implementation of some of the things in the article, if anyone's interested. My email's in my profile.


Ragdoll and cloth physics - AJ Infinity - Jun 3, 2003 02:45 PM

get the book Physics for Game Developers also. Also check out the Havok physics engine. (one of the best on the market.)


Ragdoll and cloth physics - OneSadCookie - Jun 3, 2003 03:02 PM

I seem to recall that the general concensus was that the physics for game developers book wasn't worth the paper it was printed on.

As for Havok, looking at it is a purely academic exercise. They won't even give an evaluation version to anyone who isn't a major North American game developer, and the assumption is that if you're interested in Havok you can afford the price, whatever that might be, 'cos they sure aren't saying...

A more useful suggestion would be to check out ODE, which is at least free...


Ragdoll and cloth physics - kelvin - Jun 3, 2003 03:07 PM

Quote:Originally posted by OneSadCookie
As for Havok, looking at it is a purely academic exercise. They won't even give an evaluation version to anyone who isn't a major North American game developer, and the assumption is that if you're interested in Havok you can afford the price, whatever that might be, 'cos they sure aren't saying...


Actually Havoc is included with Macromedia Director (or was in 8.5, not sure about MX) $1100 is a little hefty for the average schmuck, but it's certainly not out of range.


Ragdoll and cloth physics - w_reade - Jun 3, 2003 03:12 PM

Physics for Game Developers (O'Reilly, right?) is ok for my purposes, but I bought it more as a desktop reference for useful equations than anything else, and I'm not sure I'd want to have to actually learn the concepts from it.


Ragdoll and cloth physics - AJ Infinity - Jun 3, 2003 03:18 PM

Quote:Originally posted by OneSadCookie
I seem to recall that the general concensus was that the physics for game developers book wasn't worth the paper it was printed on.

As for Havok, looking at it is a purely academic exercise. They won't even give an evaluation version to anyone who isn't a major North American game developer, and the assumption is that if you're interested in Havok you can afford the price, whatever that might be, 'cos they sure aren't saying...

A more useful suggestion would be to check out ODE, which is at least free...


OSC: I use Havok. Grin But my version cames with Director MX.


Ragdoll and cloth physics - Skorche - Jun 3, 2003 04:01 PM

yeah, that gamasutra article seems to help. I'll have to sort through and figure out what some of those C++ vector functions do . I'm doing my prototyping in Metal Basic before I go any further with it.
Yeah, O'Reilly book is fairly worthless, except for the basic review of linear algebra.


Ragdoll and cloth physics - AJ Infinity - Jun 3, 2003 04:03 PM

I actually don't have Physics for game Developers. People have recommended it to me and I just though it was good.Huh Sad :?: