Giter VIP home page Giter VIP logo

llamacademy / ai-series-part-36 Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 3.06 MB

In this tutorial repository you will learn how to construct doors that NavMeshAgents will open when they come nearby.

Home Page: https://youtu.be/kFHvdI08Cus

License: MIT License

C# 6.79% ShaderLab 81.72% HLSL 11.49%
gamedevelopment game-development gamedev ai unity navmeshsurface navmeshagent navmeshmodifier

ai-series-part-36's Introduction

Navmesh AI Tutorial 36 - NavMeshAgents Opening Doors

In this tutorial repository you will learn how to construct doors that NavMeshAgents will open when they come nearby.

A few notes about the implementation:

  1. These doors automatically open when an Agent comes nearby using a Trigger, which requires your NavMeshAgents to have a Rigidbody on them.
  2. These doors automatically close when all Agents have left the Trigger. To make the doors stay open, simply do not call Door.Close();
  3. There is no animation currently tied to this opening behavior. There are some high level comments in DoorTrigger.cs on how you can do that.

Youtube Tutorial

Patreon Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to https://patreon.com/llamacademy to show your support.

Gold Tier Supporters

  • YOUR NAME HERE!

Silver Tier Supporters

  • Raphael
  • Andrew Bowen
  • Gerald Anderson
  • YOUR NAME HERE!

Bronze Tier Supporters

  • Bastian
  • Trey Briggs
  • AudemKay
  • YOUR NAME HERE!

Other Projects

Interested in other AI Topics in Unity, or other tutorials on Unity in general?

Requirements

  • Requires Unity 2019.4 LTS or higher.
  • Utilizes the Navmesh Components from Unity's Github.

ai-series-part-36's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

amj01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.