Thank you! Glad you enjoyed it!
AfifTk
13
Posts
1
Followers
2
Following
A member registered May 21, 2023
Creator of
Recent community posts
Glad you liked it! The way I made the ai work is by setting a target position for the dot to move to for every frame. When a beam is shot, it will shift this target position based on the direction of the beam and how close it is to the dot, and after that I used unity's SmoothDamp function to smoothly change the dot's position towards this target position, and tinkering with the parameters a bit to achieve a smooth looking movement.