What Wick Editor Version are you using?
1.19
Describe the Problem
I can’t make the VCam follow the mouse like in FNAF 1.
What have you tried so far?
I tried the basic mouse following object and apply it to the VCam.
What Wick Editor Version are you using?
1.19
Describe the Problem
I can’t make the VCam follow the mouse like in FNAF 1.
What have you tried so far?
I tried the basic mouse following object and apply it to the VCam.
what you should do is on update detect if the mouse position is less than a third of the width and if so then move the vcam to the left. If the mouse position is greater than a third of the width then move the vcam to the right. Of course, you can make the threshold a third or fourth or whatever you like the cushion to be.
Can you give me the code?
if (mouseX < project.width/3) {
this.x -= 10;
}
thanks man