OK, here's the deal: I had been looking EVERYWHERE online to find out how to make a skinned mesh ragdoll. All I could find was how to make a ragdoll out of separate meshes. So I eventually figured it out, and here it is! I couldn't find this ANYWHERE online, especially not with Irrlicht, so I hope it will be helpful to some people. I wasn't sure if I should put this in this category or in Code Snippets, so if I'm wrong please move it or do whatever must be done.
http://www.megaupload.com/?d=5SH2893A
Please excuse the crappy model. It's just a dummy I use to test things.
Also, sorry for the lack of documentation/commenting, I will update in the future.
Note: some of the joints may still need to be tweaked a little, so just mess around with the parameters till you like it!
Hope this helps some people....
EDIT: Updated... new URL
Irrlicht and PhysX Ragdoll Demo (finally)
-
- Posts: 212
- Joined: Sun Jul 19, 2009 4:24 am
- Location: Netherlands Antilles, Curacao
-
- Posts: 362
- Joined: Sun Dec 16, 2007 9:25 pm
You have:
shouldn't it be:
Code: Select all
NxVec3 normalgrav(0, -9.8f, 0); // normal earth gravity
NxVec3 lowgrav(0, -1.0f, 0); // low gravity (used in this demo)
NxVec3 nograv(0, 0, 0); // no gravity at all
NxSceneDesc scd;
scd.gravity = nograv;
Code: Select all
NxVec3 normalgrav(0, -9.8f, 0); // normal earth gravity
NxVec3 lowgrav(0, -1.0f, 0); // low gravity (used in this demo)
NxVec3 nograv(0, 0, 0); // no gravity at all
NxSceneDesc scd;
scd.gravity = lowgrav;
Post this userbar I made on other websites to show your support for Irrlicht!
http://img147.imageshack.us/img147/1261 ... wernq4.png
http://img147.imageshack.us/img147/1261 ... wernq4.png
-
- Posts: 2
- Joined: Sun Aug 02, 2009 8:23 am
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact: