Questions about the Zombie model bad behaviour in the demo

Oozie

28-01-2007 20:16:58

The zombie in the demo is very unstable (alot of "trembling"), and it doesn't seem to go to rest. I assume that I can fix this with tweaking ODE parameters.

The more disturbing problem occurs sometimes... Check the pic:


There are offset vertices and other weird behaviour. I hope this only because of bad skinning of the model, and it's not a feature of ODE, Ogre or OgreOde? This happens both with the binary demo, and in the version which I compiled myself.

Turbo

10-04-2008 18:00:07

I'm having the same issue. Some zombies seem to have lost the vertex weight information. Some work well though. I think the ones that get corrupted are the ones in which their collision geometry collides with itself.

Does it have to do with using Ogre 1.4? Since OgreOde says it works only for 1.2.

Also, there's a weird bug on the chopper demo, where the explosion affects the furthest boxes more than the closest ones (meaning, the correct area of effect for the explosion is inverted, less at the center and more as it gets further away).

edit: sorry for replying to an old thread, i misread the date.

edit2: replacing the ragdoll rotations on SimpleScenes, from setOrientation to yaw and pitch (the commented code) made it work:


_ragdoll_node->yaw(Degree(rand() % 360));
_ragdoll_node->pitch(Degree(rand() % 360));

// _ragdoll_node->setOrientation(Quaternion(Radian(OgreOde::Utility::randomReal() * 10.0 - 5.0),
// Ogre::Vector3(OgreOde::Utility::randomReal() * 2.0 - 1.0,
// OgreOde::Utility::randomReal() * 2.0 - 1.0,
// OgreOde::Utility::randomReal() * 2.0 - 1.0)));

rewb0rn

10-04-2008 18:09:44

I dont think it depends on the Ogre version, I am not sure though. It depends on the model neither, I experienced the same issue with our own character. It gets much worse when rescaling the model, that might be a first hint for the reason, I have never gone deep though. If you can find anything out about this please share.

Can't say anything about the explosion, I never noticed. Is it even an OgreOde specific topic or just a bug in the demo?

Turbo

10-04-2008 19:15:26

thanks for your reply. I searched the forum and noticed another thread where you commented about the scale, but i think it's more related to the orientation.
Regarding the explosion, can't say much about it yet, i'll explore further, haven't tested beyond the demo, but i sure will, soon.

BTW: i'm compiling the ODE version (0.9) from the svn, ogreode from the cvs, both as static libs and in linux, with Eclipse. For the record :)