Question by
Mastertrol · Sep 29, 2017 at 07:30 AM ·
scripting problemscript.aiplayer movementobstacle avoidance
Need Help Moving an object using specfic paramets
I have a player model that i need to move to a specific location and then once at the location proceed into the inner side of the map. ( character/enemy spawns outside the map and advances in toward the map). Once the enemy is in the map, it then must move towards the player, but avoiding obstacles and going up stairs.
I need help setting up a script that would make a character move to the closest player while avoiding obstacles and such. I am currently using Itween to move the enemy inside the map. The problem is moving towards the character using Proximity and obstacle avoidance. I have attempted using AI's with no luck.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612135901im_/https://answers.unity.com/themes/thub/images/avi.jpg)