top of page
Nicholas Brown
Unity Developer
Homing Kunai
This is a nice little VR script that I wrote that makes an object that you through move towards the nearest target, by manipulating its velocity.
​
If the projectile is not in line of sight of a valid target then it will wait until it is has.
​
If the projectile hits another object before finding a target or is blocked from reaching its designated target then the homing mechanic will stop.
​
The homing mechanic can also be limited by distance or resource, once the resource is used up or the max distance is reached then the homing mechanic will also stop

Play Video
bottom of page