Profile image

turret turning

453 redcrafter  2.4 years ago

yes i know i made one earlier im making a tonk

but how do i make the turret not go back after moving it?
(what i mean it i have the turret movement set to yaw and after i press E the turret goes back to the original pos)

  • Log in to leave a comment
  • Profile image

    @redcrafter yeah I just noticed lol

    2.4 years ago
  • Profile image

    @asteroidbook345
    a bit too late lol

    2.4 years ago
  • Profile image

    sum(Roll) or something. Or Yaw if you'd prefer that

    2.4 years ago
  • Profile image

    sorry i had loading problems

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    https://www.simpleplanes.com/a/BbcCQ1/PanzerKampfWagon-III-Ausf-F-WIP

    2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter The camera speed seems fine to me. You can tag me on the tank if you want me to take a look at it.

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    its the cam if you want ill send the tonk i making

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    2 things im not good at math
    and only prob with cam the turret is (maybe) to slow or its the cam

    2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter Btw if you are good at math this is a pretty useful guide on all this code stuff (including how variables work): click

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    i got it to work my coping the whole cam

    2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter It's also possible to do it with more than 1 camera per build, but you need to use different variable names for the other cameras if you do that.

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    say "ok i found out how to do it (ish) i found your cam and i have to put in the things in XML then the variables (i think just XML

    2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter Yeah it's kind of complicated to do.

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    lol im fine i rather not go destroying the epik thingy
    plus i cant do the CameraY and X in the thingy

    2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter I think I hid it below the turret, behind a block or two.

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    where is cam i cant find it lol

    2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter This post explains it better: click

    2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter If you select the camera I used for the turret, go into the rotation menu and press the variables icon there, you'll see some things had names set to them.

    You need also copy-paste the names there in the same places for the code to work.

    2.4 years ago
  • Profile image

    plus ill be using more then one cam

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    wdym by that?

    2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter As far as I can remember, the camera name doesn't matter, but if you copy-paste the code you need to use the same part variable names.

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    actually for the cam thing do i have to put the cam name for the aiming to work?

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    you understood it correctly thanks for the code imma give credit for the aiming when i post it

    +1 2.4 years ago
  • Profile image
    11.6k JesusChrist

    @redcrafter You use the sum() code on the same place you used your current input code, unless I'm misunderstanding it and you mean something else.

    2.4 years ago
  • Profile image

    @DeveloperKorzalerke
    yes i know that part im talking what do i put in name and what do i put in value

    2.4 years ago
  • Log in to see more comments