playMaker

Author Topic: Rotate and camera follow issue  (Read 1220 times)

coxy17

  • Beta Group
  • Sr. Member
  • *
  • Posts: 355
Rotate and camera follow issue
« on: May 23, 2014, 07:02:32 AM »
Hi,

I have my camera following my player (attached my setup)
My game allows the character to walk up a walk (90 degree) in 3D using Physics

My player can rotate 45 degrees using arrows at one time, by using the arrow key. The problem only lies with rotating when on the wall.

My issue: When on the wall
When on the wall (90 degrees in world). I rotate my player, the camera does an arc motion? instead of a solid motion turn like it does when on the floor.

Behavior when on floor
When on the ground (0 degrees in world) i rotate my player, the camera follows the player perfectly. (no arc like motion)

Any ideas why? tried recording but its not very clear as it jitters

Thanks
« Last Edit: May 23, 2014, 07:05:56 AM by coxy17 »