Want some help to look around with mouse using Bolt

Hey, I want some help to create a flow machine in Bolt to look around with the mouse. As I don’t like to work with C# (and semicolons), I am using Bolt. However, as I didn’t understand the basics of how unity works etc…, I used a script found on the Internet for help and created this graph.

Simply, What I do here is,

On Update Event, I set the values of variables X and Y to Mouse X and Mouse Y respectively.
X = Mouse X * 100f * Delta Time
Y = Mouse Y * 100f * Delta Time

Then, I apply the value of variable X to the Y-axis of rotation.
Local Rotation (Self) = Quaternion.Euler(0, X, 0)

However, when I move the mouse and stop, the camera jitters a bit and the rotation resets to zero.

6202758--681045--PPCLPfwlAH.gif

What Am I doing wrong here? Can somebody help me to understand what I should do?

Thanks in advance!

Maybe try using saved varibles or try to dont use varibles and use vector3 instead sorry if it doesn’t work I am a newbie

do you still need help?

I am quite new so I tryed my hand at doing rotation and got it. very simple and gives good movement. Feel free to copy and paste!


first is the one you aply on the player and second is the one you aply on the cam
Sorry if I couldnt help.

2 Likes