Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Behavior AI
1/4
Obstacle Avoidance It is for our NPC to avoid the obstacles that bother him to reach his goal.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.18f1
Compatible
Compatible
Compatible
Description

Obstacle Avoidance It is for our NPC to try to avoid the obstacles that bother him to reach his goal.


CONFIGURATION

There are two ways to avoid the obstacle, by rays or by a sphere. You can choose the one you want and with only add the AvoidanceByRay or AvoidanceBySphere component to an object, its ready to be used.


FEATURES

-Can dodge obstacles of any size.

-Can specify with obstacles need to be avoid using layers.

-Knowing what we have around us, knowing if they are of X type in particular.

-Know which of these obstacles is closer to give it priority.

-Have a rotation speed and a dodge value.

-Have two components to choose to use a sphere or ray to detect obstacles.

-Works nicely in 3D mode.


EDITOR

It has an editor extension that visualizes the range, rays and angles with colors that can be changed individually for each object and it can be edited from the scene itself using handles.


Document

Technical details

-Can dodge obstacles of any size.

-Can specify with obstacles need to be avoid using layers.

-Knowing what we have around us, knowing if they are of X type in particular.

-Know which of these obstacles is closer to give it priority.

-Have a rotation speed and a dodge value.

-Have two components to choose to use a sphere or ray to detect obstacles.

-Works nicely in 3D mode.

-It has an editor extension that visualizes the range, rays and angles with colors that can be changed individually for each object and it can be edited from the scene itself using handles.

Obstacle Avoidance

(not enough ratings)
14 users have favourite this asset
(14)
$4.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
413.3 KB
Latest version
1.0
Latest release date
Sep 6, 2023
Original Unity version
2021.3.18
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR