Shocky body

lamberreke

23-05-2008 08:47:33

Hay,

A couple of days ago, the strangest thing happened to my application. When I added some classes that had absolutely nothing to do with some of the physics, rendering or whatever.. ( i don't do nothing actually :s ) my nxogre body became shocky...

What i mean by shocky is illustrated by following short movie.

http://www.studentendiepenbeek.be/Shocky.wmv

Has anybody had this kind of shocky behavior??

I'm quite desperate as i've searched through all the code and don't have a clue what the problem is... The code of the physics is exactly the same as it was when it wasn't shocky... and quite simple actually.

Or could it be an ogre problem?

Thx in advance

betajaen

23-05-2008 11:08:30

I'm guessing your using wheels and a body/actor? If yes; try some interpolation.

lamberreke

23-05-2008 11:33:45

i solved it... but the solution is as strange as the error.

I'm using raknet for netwerk communication. When i started the raknet thread before everything else... it became shocky. When i placed the raknet startup just before the rendering start, the shockyness disappeared.

So the error is more ogre based i'm guessing... but still... extremely strange if you ask me.

Thx anyway!