Gmod Radar

Radar screen is oscilloscope Use something else to spin the radar like applyAngForce() or thrusters (but you need to make sure it's a steady speed so you need a speedometer, but motors are a good alt) Parts needed: • Prop Radar (it should be on an axis and welded and no-collided to a prop, not the world as it creates friction) • Ranger (should not be 0 when it doesn't detect anything) {R} • Gyroscope (0°-360°) {Theta/Yaw either name works} • Oscilloscope {X, Y} • Gates/E2 chip • Speedometer (unless you have a motor) Optional: • Radio (so you don't have to walk far to wire stuff together) • Color codes for entities detected by ranger (blue for players; red for NPCs; green for nothing/terrain/world)

The E2 code: this is all you need, since oscilloscope screen length and width are always 1 X = R * cos(Yaw) / MaxR Y = R * sin(Yaw) / MaxR

/r/gmod Thread