playMaker

Author Topic: camera bounces if rotation goes below X = 0? (video included)  (Read 1442 times)

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
camera bounces if rotation goes below X = 0? (video included)
« on: September 10, 2018, 06:27:03 PM »
Hello. I want my orbiting camera to go UNDER rotation of X=0 so it can slide along the floor and allow the player to see the sky. Currently I have to clamp the X rotation at 0 or the camera will bounce upward after reaching 0. Can someone help me understand why this happens or how to prevent it so negative X rotations are possible?

I made a video showing the exact issue.


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: camera bounces if rotation goes below X = 0? (video included)
« Reply #1 on: September 10, 2018, 08:40:47 PM »
Hi.
Could you send a scene with just the camera buildup and a cube as character,
as there are many different setups for the camera :)
So i can have a look

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: camera bounces if rotation goes below X = 0? (video included)
« Reply #2 on: September 10, 2018, 09:59:42 PM »
Hi,
Maybe you could use 'mouse look' instead or 'input look'(Ecosystem)

The mouse look tho had a disadvantage for the direction, so i made a custom one where you can invert the x/y directions (see Attachment below)

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
Re: camera bounces if rotation goes below X = 0? (video included)
« Reply #3 on: September 12, 2018, 11:53:44 PM »
Hey, thanks! I can send the scene, but it may be a problem that it's only set up for using an XBOX controller for windows. I'm getting the joystick axes and using those instead of a mouse. Would that affect the diagnosis?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: camera bounces if rotation goes below X = 0? (video included)
« Reply #4 on: September 13, 2018, 01:24:22 AM »
Hi.
I have a xbox controller so that would be ok :)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: camera bounces if rotation goes below X = 0? (video included)
« Reply #5 on: September 17, 2018, 01:08:34 AM »
Hi.
Just checking if you got it to work.