Circular Rays, Lines, and Spawn Positions with Unity Visual Scripting | Enemy Surround [1/2]

In this Unity Visual Scripting tutorial we’ll draw rays and lines in a circular or radial pattern. We’ll visualize radians and trigonometry (aka Jim Uses After Effects, The Early Years). Our UVS graph can also be used to instantiate or position objects in a circle. In the next video we’ll use raycasting on a Nav Mesh to set enemy agents to surround positions. Wishlist my Udemy course “Learn Game AI in Unity Visual Scripting“: 0:00 Intro 0:40 Variables 1:22 Graph Start 2:00 Radians 3:00 Tau (Pi Sucks) 3:40 Degrees to Radians 4:30 Finding Points with Cos/Sin 6:20 Reposition Circle 7:14 Draw Lines 7:30 Instantiate in Circle 8:08 Drawing Rays Music “Meliora (Instrumental edit)“ by Mindseye “Waves“ by HoliznaCC0 “Minor Event“ by Nangdo CC by 4.0
Back to Top