Profile image

How to make something spin?

15.9k ComradeBazookaBall  23 hours ago

I wanna make a SAM system, and I wish to give it a radar dish that will spin and if you lock a target, it will turn to said target, slight problem, I don't know how to make it spin and lock at the same time!

  • Log in to leave a comment
  • Profile image

    Do not say IDK or something like that, that's not helpful, and I would like something helpful.

    Pinned 23 hours ago
  • Profile image

    Tag portion 2:
    @YarisHatchback
    @M109simp
    @HuskyCo3D

    Pinned 23 hours ago
  • Profile image

    Tag portion 1:
    @RedeemedSPer
    @aMosquito
    @B1BLancer

    Pinned 23 hours ago
  • Profile image

    @SILVERPANZER @MonsNotTheMonster Can I also make it so on my SAM if you lock on a target and you've selected your missiles a door will open? And also for the door to be different depending on how many missiles you have left?

    10 hours ago
  • Profile image

    @ComradeBazookaBall just smooth(sum(Time/180),1)

    +1 12 hours ago
  • Profile image

    @SILVERPANZER That was unexpected
    I was expecting to need like 3 rotators

    12 hours ago
  • Profile image
    61.9k SILVERPANZER

    @ComradeBazookaBall only one rotator

    13 hours ago
  • Profile image

    @SILVERPANZER Do I need more than one rotator on the radar dish to get this to work?

    13 hours ago
  • Profile image

    You can find some on the website

    18 hours ago
  • Profile image
    50.6k Graingy

    @SILVERPANZER Should I ever play SP again, I will misuse this.

    21 hours ago
  • Profile image
    61.9k SILVERPANZER

    To rotate, use sum(1), to follow a target you can use this simple code (TargetHeading-Heading)/180, and to combine them, you can use the "if" condition: TargetSelected? (TargetHeading-Heading)/180 : sum(1)

    +6 23 hours ago