4-legged animation testing / rag-dolling

Read all the other stories from the world

Moderators: scallenger, Rebel, Sky, madppiper

Dragonlord
Compsognathus
Compsognathus
Posts: 1070
Joined: Fri Jan 04, 2008 12:14 am
Location: Switzerland
Contact:

4-legged animation testing / rag-dolling

Post by Dragonlord »

Dragons are not really what this forum is about ( although they are dinosaurs but that's another problem :P ) but since this work here is also usable for dinosaurs ( 4-legged ones at last for the time being ) it might be interesting nevertheless. Eventually got the ground-control animation code to work in a way it is usable although not fully mature yet. Ground-control animation for those not in the know is about how game actors ( actors are any kind of mesh which acts on their own usually player or non-player characters ) interact with the ground below. Most games simply play the animation or at best tilt the entire model which causes feet to dangle in the void or penetrate through the ground. More interesting to code though is a proper ground control where actors properly interact with the ground. This is especially useful for large actors where this can add to the look and feel of a scene. I don't want to waste too much text here. Just read the video description for some wall of text about what it's all about. Inverse kinematics still sucks as I somehow can't get the penalty mode to work which is why broken legs happen. Hopefully I can get rid of this over time.
Wakeboard testing | Dragon on bumpy terrain | Dragon on a real wake-board :P
The last video happened due to a joking comment of somebody from ModDB. Couldn't resist to whack it together for shits and giggles.

Last but not least a bit of physics playing around. Now trespasser dinosaurs with that kind of physics would be interesting :D
Dragon Rag-Doll Test
Hopefully I didn't annoy you with that folks.
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )
User avatar
Nick3069
Albertosaurus
Albertosaurus
Posts: 2361
Joined: Wed May 16, 2007 10:32 pm
Location: Ontario, Canada

Re: 4-legged animation testing / rag-dolling

Post by Nick3069 »

Good job! That's quite impressive for an indie game engine. :D
TheGuy
Velociraptor
Velociraptor
Posts: 1479
Joined: Tue Sep 05, 2006 10:53 am
Antispam: No
Location: Great Britain :)
Contact:

Re: 4-legged animation testing / rag-dolling

Post by TheGuy »

Wow, haha, that's really cool! It seems quite life-like, weirdly.

It's amazing what a difference proper ground interaction makes to the believability of what you're seeing.
ImageImage
Dragonlord
Compsognathus
Compsognathus
Posts: 1070
Joined: Fri Jan 04, 2008 12:14 am
Location: Switzerland
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Dragonlord »

Yeah it gives an entire new dimension to immersion ( if I am allowed to use this over-used word ). The code itself works also with 2-legged actors although I'm still mocking around with that code. Imagine some raptors hunting around in the woods using this kind of ground interaction paired with good animation sequences. That would give quite some intense survival type game I could imagine :P
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Draconisaurus »

Pretty awesome stuff, there. 8) Always enjoy a good dragon in action...

My only crit - in the ragdoll video, I noticed the rear legs falling into that mayanesque step-pyramid a lot :P
Dragonlord
Compsognathus
Compsognathus
Posts: 1070
Joined: Fri Jan 04, 2008 12:14 am
Location: Switzerland
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Dragonlord »

Draconisaurus wrote:Pretty awesome stuff, there. 8) Always enjoy a good dragon in action...

My only crit - in the ragdoll video, I noticed the rear legs falling into that mayanesque step-pyramid a lot :P
This is because they are not rigged with collision objects yet. If you look at the beginning I turn on the collision volumes ( orange shapes ) for a short time. Only bones with a collision object and constraints are affected by physics. The other bones are considered kinematic and move together with their parent bone or can be animated. I'll post another video once I fully rigged the guy. I need though to first implement some improvements to avoid self-collisions where they are not wanted. Most problematic will be the wings. I still have to figure out a way on how to do them best.
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )
User avatar
hppav
-=TresCom Forum Admin=-
-=TresCom Forum Admin=-
Posts: 6618
Joined: Sun Nov 10, 2002 9:40 pm
Antispam: No
Location: Peru, Indiana

Re: 4-legged animation testing / rag-dolling

Post by hppav »

Draconisaurus wrote:Pretty awesome stuff, there. 8) Always enjoy a good dragon in action...

My only crit - in the ragdoll video, I noticed the rear legs falling into that mayanesque step-pyramid a lot :P
Draco fails at reading video descriptions :P

Nice job, I still remember when proper foot-ground interaction was an unheard of thing.
Album 1 http://m.imgur.com/a/cRA26
Album 2 http://imgur.com/a/6tvKV
Jurassic World: Fallen Kingdom leaked and (few) official photos
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Draconisaurus »

Dragonlord wrote:Most problematic will be the wings. I still have to figure out a way on how to do them best.
Yeah I noticed they were not really working yet. I think first they need to be fully rigged - that is, with the complete joints that they'd use to do a flying motion (and so a flying animation might need to be finished first). They are just kinda sticking out atm, it seems.. and I think simply making them a two-part flopping mass or something would not look good.
Dragonlord
Compsognathus
Compsognathus
Posts: 1070
Joined: Fri Jan 04, 2008 12:14 am
Location: Switzerland
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Dragonlord »

Draconisaurus wrote:
Dragonlord wrote:Most problematic will be the wings. I still have to figure out a way on how to do them best.
Yeah I noticed they were not really working yet. I think first they need to be fully rigged - that is, with the complete joints that they'd use to do a flying motion (and so a flying animation might need to be finished first). They are just kinda sticking out atm, it seems.. and I think simply making them a two-part flopping mass or something would not look good.
The wings are fully rigged down to wing web bowing/shearing. So they are fully animate-able and have animations. That's actually not the problem. It's the wing web itself. The wing fingers I can do using collision shapes. The wing web though alters shape while the wing fingers move as it counts as a cloth material. The Bullet Physics library has support for cloth physics but I'm not sure yet on how to mix this all together. Kinda delicate problem.
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Draconisaurus »

Hmmm, yeah.. As I think of it, I am picturing an imaginary string that connects two wing support bones, where nothing is allowed to pass the 3-point plane between them and the joint.
Dragonlord
Compsognathus
Compsognathus
Posts: 1070
Joined: Fri Jan 04, 2008 12:14 am
Location: Switzerland
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Dragonlord »

Am currently experimenting with spring constraints for the wing web. It's not bad but collision shapes are rather small causing tunneling problems. But the wings get some kind of movement which looks okay. Just have to fully rig it.
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )
Dragonlord
Compsognathus
Compsognathus
Posts: 1070
Joined: Fri Jan 04, 2008 12:14 am
Location: Switzerland
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Dragonlord »

This spring-wing stuff if actually working... sort of :D . A bit of playing around with 0-gravity. Yielded a couple of bizarre poses. Rag-dolls can be fun :P . Simple put gravity to 0 and whacked him a bit waiting until the auto-disabling kicks in and he gets' frozen in time.

Image 1 | Image 2 | Image 3 | Image 4

Need to make some video sometimes soon but first I need to fix some problems.
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Draconisaurus »

Haha that dragon looks like he's having fun :lol: I must say, it's a great skin he's got.
Dragonlord
Compsognathus
Compsognathus
Posts: 1070
Joined: Fri Jan 04, 2008 12:14 am
Location: Switzerland
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Dragonlord »

Draconisaurus wrote:Haha that dragon looks like he's having fun :lol: I must say, it's a great skin he's got.
Thanks. The skin has meant to be realistic ( in contrary to what you'll usually find ). Try to find him: http://lordofdragons.deviantart.com/art ... n-86884952 ( full view helps ).
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: 4-legged animation testing / rag-dolling

Post by Draconisaurus »

Pretty nice o-0 If you'd give him more blur in that image, he might be almost impossible to catch.
Post Reply