Oh, also you need to put the inputs in via the overload mod.Select the hinge with overload and go into the InputController, and put the variables into Input.
To get camera aim just click on a camera (I’d use just a normal one, not orbit) Then on the side it has a rotate button. In that section, at the top there is a variable output. It should look like this: (x) click on it. Then where it says look pitch and look yaw, put in variable names of your choice. You will be using them for later. In my example look pitch will be LP and look yaw will be LY. Now, you can output these into text by doing {LP} or {LY}, which helps me with debugging, or you can output them into motors by doing for example on a pitch axis, LP/90(or LP/-90 if it’s reversed), and now when you move your camera up/down, the hinge should move up and down. Hope this helped!
HOLY MOLY THE PICTURE WORKED thanks to TheFlightGuySP for helping me out
@GuardianVN there are upvotes so more people see i think
@hpgbproductions thanks but i already got it sorted out
To add limits to the turret, use the clamp function
clamp(INPUT, MIN, MAX)
@PlaneWelder thanks
but i need to put a limit on the rotation i know how to camera aim now but there is no limit though
@LeaveUsAlone use postimages and upload your own picture and do this ![ ] (put direct url here) but remove the spaces
@GuardianVN how do I do pictures?
Oh, also you need to put the inputs in via the overload mod.Select the hinge with overload and go into the InputController, and put the variables into Input.
To get camera aim just click on a camera (I’d use just a normal one, not orbit) Then on the side it has a rotate button. In that section, at the top there is a variable output. It should look like this: (x) click on it. Then where it says look pitch and look yaw, put in variable names of your choice. You will be using them for later. In my example look pitch will be LP and look yaw will be LY. Now, you can output these into text by doing {LP} or {LY}, which helps me with debugging, or you can output them into motors by doing for example on a pitch axis, LP/90(or LP/-90 if it’s reversed), and now when you move your camera up/down, the hinge should move up and down. Hope this helped!
idk why there are updoots but i appreciate it