Profile image

How do I make a radar screen

153 Yoinkus  4 months ago

How do I convert the piston and rotator into a screen?

  • Log in to leave a comment
  • Profile image
    153 Yoinkus

    @hpgbproductions Thanks :)

    4 months ago
  • Profile image
    153 Yoinkus

    @Axartar Thank you

    4 months ago
  • Profile image
    23.8k Axartar

    I agree with hpgbproductions, feel free to try using the target variables, you can use the scalar product to help find directionality, distance is the easy bit.
    .
    its easier to nab someones stuff, make sure to credit them though

    +2 4 months ago
  • Profile image

    If your plane always remains level:
    Easy to do with TargetHeading, TargetElevation, TargetDistance, TargetSelected. The heading and elevation variables are in world space, and can easily be converted to local space.
    .
    If your plane can pitch and roll (i.e., is actually a plane or something):
    Probably just nick an auto-aim code to convert those world space angles into local space.
    .
    Once you have local space angles, they can drive horizontal and vertical pistons.

    +4 4 months ago