Profile image

Help

4,254 Lake  2.3 years ago

I need help on auto aim turret but when I add select a target it just wobbles around. pls help

  • Log in to leave a comment
  • Profile image
    4,254 Lake

    Thanks @Nitsu

    2.3 years ago
  • Profile image
    6,776 Nitsu

    @Lake anyways, if you really want to have a turret that does not wobble too much, you'd want to add in damperMultiplier, and set them to 10k and for the inputs of the rotators its whatever code you need. You have to ask someone else as you have to also take into account target speed, direction and other stuff.

    2.3 years ago
  • Profile image
    4,254 Lake

    Oh ok @Nitsu

    2.3 years ago
  • Profile image
    6,776 Nitsu

    @Lake oh right, because i didn't really change any of the weight parameters.

    2.3 years ago
  • Profile image
    6,776 Nitsu

    @Lake what weight ??

    2.3 years ago
  • Profile image
    4,254 Lake

    WAIT I JUST REALIZED (I hope) @Lake

    2.3 years ago
  • Profile image
    4,254 Lake
    2.3 years ago
  • Profile image
    13.3k Grob0s0VBRa

    @Lake
    The Designer sends a message:
    "Go Fart Yourself!!!"
    a.k.a. i can't check most of their builds somehow.
    Still, i found one that works fine and... rotators on it have 10k damperMultiplier while total mass of the build is over 500k kg.

    2.3 years ago
  • Profile image
    4,254 Lake

    @Grob0s0VBRa but why do I see some of @Nitsu ‘s ships have about 300k or more weight?

    2.3 years ago
  • Profile image
    13.3k Grob0s0VBRa

    ehm...well, thats complicated
    So learn how it is done here.
    There is a link to a pretty useful spreadsheet.
    Anyways, My People Needs Me
    cant help more at the moment
    bye-bye
    Upd:
    insert damperMultiplier parameter with like 10-20k value via Overload (in jointRotator tab of that part).
    Bruv, ze problem is in the mass of the craft, not in ze code

    2.3 years ago
  • Profile image
    4,254 Lake
    2.3 years ago
  • Profile image
    4,254 Lake

    @Grob0s0VBRa You know what, j-just give me a code

    2.3 years ago
  • Profile image
    4,254 Lake

    @Grob0s0VBRa yeah.... that didn't work

    2.3 years ago
  • Profile image
    4,254 Lake

    Ok thanks @Grob0s0VBRa

    +1 2.3 years ago
  • Profile image
    13.3k Grob0s0VBRa

    @Lake This is not an explanation of your problem.
    Direct copying of that code works fine, plus it has a targetselected already.
    *mahbrainhadensmoothed*
    Doublecheck range of motion in code and rotator

    2.3 years ago
  • Profile image
    4,254 Lake

    @Grob0s0VBRa Am using the code from Farewellchii's gun house

    2.3 years ago
  • Profile image
    13.3k Grob0s0VBRa

    @Lake
    bababooi

    2.3 years ago
  • Profile image
    4,254 Lake

    Ok, and what’s ternary selection? @Grob0s0VBRa

    2.3 years ago
  • Profile image
    13.3k Grob0s0VBRa

    Wobbles? Like turns from side to side away from the target?
    Perhaps you used the code that works well when cockpit attached to the hull, not turret or the opposite...
    If, you add an targetselected to the code, and after that the problem occur, then double-check how you insert it (like using a ternary selection or something else)

    +1 2.3 years ago