Vehicle wheels latency/horizontal shift

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
cjhazard
Posts: 35
Joined: Mon Aug 01, 2011 8:05 pm

Vehicle wheels latency/horizontal shift

Post by cjhazard »

Images will probably describe this issue better than words...

This is the vehicle at rest...
Image

And this happens when I accelerate... (actually I'm going backwards in this shot below)
Image

Why do the wheels seem to have a latency or horizontal shift? I thought it might be the suspension settings but I've tweaked all sorts of stuff and I still get this issue. Or is just latency in rendering the wheels (i.e. I'm updating the world matrix of the wheel model in the wrong place)... actually I forgot to check that...

Any advice greatly appreciated as ever. :)
cjhazard
Posts: 35
Joined: Mon Aug 01, 2011 8:05 pm

Re: Vehicle wheels latency/horizontal shift

Post by cjhazard »

Turns out it was down to where I was updating the World transform of the wheel model as suspected. Problem solved!!
:D
Post Reply