- Home /
Question by
dani_kal · Apr 14, 2020 at 02:29 PM ·
script.obstacle avoidance
Obstacle definition in c-sharp script
Hello!!!
I would like to ask how we can define the obstacles in Unity script.Lets say we import a cube in the scene, with position (1, 1 , 1) and scale (4, 2, 4).
In unity script, how can I define the obstacle, so to make an agent avoid it ?
I mean that how I can know all the coordinates of the obstacle in the unity script?
Thank you an advance!!!
I would be grateful if someone can help me!!!
Comment