Page 1 of 1

Issues with Bepu player controller

Posted: Mon Feb 27, 2012 5:59 am
by Danthekilla
Hey I have just been converting my game over to using the Bepu camera which I did easy enough.

Then I have replaced my player controller with bepus and everything works except for all my FPS rendering (think a gun in the player hands) is off whenever the player moves...

It quickly (300ms) moves back to the correct position, I cannot seem to track it down. It is being rendered using the cameras position and an offset. But it and the camera become desynced.

Anyone have any ideas?

Re: Issues with Bepu player controller

Posted: Mon Feb 27, 2012 6:12 am
by Norbo
The character controller itself is unaware of any camera or graphics, but the default CharacterControllerInput class does do some interpolation stuff to smooth out the camera. If I had to guess, it would be something to do with that.

Re: Issues with Bepu player controller

Posted: Mon Feb 27, 2012 6:17 am
by Danthekilla
Thats what I thought too, but I already tried turning that off.

Ill figure it out eventually ;)