3d camera mouse look skipping

0 favourites
  • 2 posts
From the Asset Store
Includes 11min video guide. Hold an input button to "fill" up a text object and safely skip cutscenes without annoyances
  • I am making a doom style boomer shooter game, however when I try and rotate the camera it will skip, as demonstrated by this video

    youtu.be/8k9wwRDtTJM

    this is my camera code

    mouse on left button clicked : request pointer lock

    mouse on movement : rotate camera (x = mouse.movementx / 10, y = 0, min polar angle = 0, max polar angle 180)

    anybody know a fix?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The code you have there should work, but there must be something else that is affecting the camera.

    There's not really enough info here to be able to pin down the problem. It could be some code elsewhere that's interacting with your camera causing an issue such as your movement code. I would get some text elements on there displaying the various values to monitor what's going on as you move though to try to nail down any anomalies for example displaying your FPS would be a good start to at least eliminate lag as being the cause.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)