Issues with Bepu player controller

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Danthekilla
Posts: 136
Joined: Sun Jan 17, 2010 11:35 am

Issues with Bepu player controller

Post 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?
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Issues with Bepu player controller

Post 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.
Danthekilla
Posts: 136
Joined: Sun Jan 17, 2010 11:35 am

Re: Issues with Bepu player controller

Post by Danthekilla »

Thats what I thought too, but I already tried turning that off.

Ill figure it out eventually ;)
Post Reply