Profile image

How do I make a radar screen

151 Yoinkus  3 months ago

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

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

    @hpgbproductions Thanks :)

    3 months ago
  • Profile image
    151 Yoinkus

    @Axartar Thank you

    3 months ago
  • Profile image
    23.7k 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 3 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 3 months ago