playMaker

Author Topic: Camera jittering on character controller (Changing height)  (Read 1062 times)

Nairobiette

  • Playmaker Newbie
  • *
  • Posts: 4
Camera jittering on character controller (Changing height)
« on: July 31, 2020, 08:50:31 AM »
Hello, I've programmed a crouch system, which changes the height of the character controller in live. However, the height change isn't smooth and jerky, which affects the camera.

I've found an answer here : https://gamedev.stackexchange.com/questions/159781/changing-charactercontrollers-height-causes-jittering-issue-in-unity

But I don't find how to replicate this with playmaker. I've tried lots of things, multiply vector3 and stuff, but this doesn't work...

Thanks for the help, I'm really stuck on this one.

nuFF3

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 74
  • Are we even real?
    • One Month Studio
Re: Camera jittering on character controller (Changing height)
« Reply #1 on: August 02, 2020, 04:16:30 PM »
I think you might have to redo your crouch, since I have a feeling you're over-complicating it just a tad.

I've attached an image with pretty much all you need to make a basic crouching mechanic. Never over-complicate something simple.
Of course, this is just going to change the controllers height, you still need to move the camera as well.