Playmaker: Quick Pathfinding AI

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024
  • เกม

ความคิดเห็น • 15

  • @Kennychan222
    @Kennychan222 7 ปีที่แล้ว +1

    The best and simple aI movement!

  • @crativ3
    @crativ3 8 ปีที่แล้ว

    You can do the same thing with one C# script, and the rest in playmaker, without downloading any other package. Watch the official Unity tutorial on pathfinding, copy the C# script they go through called "SampleAgentScript". And simply use the "Set Property" action in playmaker, the rest is up to you.

    • @crativ3
      @crativ3 8 ปีที่แล้ว

      The script is very simple, no real knowledge of C# is required.
      When trying to affect the script using playmaker, use the "Object" variables and set the object to "UnityEngine/Transform", now simply use the "Get Transform" and set the output to the newly created "Object" variable.
      Its all down to logic in the end, rather than anything else.
      I made an AI that can patrol designated areas, when spotting me he will give chase, when lose sight he will start a search, and if he still cant find me he will continue patrolling the designated area.

  • @tomtatlichsu2878
    @tomtatlichsu2878 7 ปีที่แล้ว

    very easy to understand

  • @anyanam5586
    @anyanam5586 8 ปีที่แล้ว

    Thanks for this tutorial! :) I have an avatar that I want to move from one position to another and then back to the original position. I tried this tutorial and I can make the avatar move from one place to another, just like in the tutorial, but it did not work when I tried to move it back to the original position. Do you have any idea on how to go about to do this? I would be really grateful for an answer :)
    Kind regards
    Anya

    • @OfficiaFoxDeltaGames
      @OfficiaFoxDeltaGames  8 ปีที่แล้ว

      Maybe try to store the last position on a vector 3 variable, maybe call it "LastPos". and when you want to go back to the last position, have the "AI" read from the vector 3 variable "LastPos"

  • @chuflesthecat
    @chuflesthecat 7 ปีที่แล้ว

    i dont know why, and probably is a silly question, but the enemy is passing through walls, i thought probably because the walls were not static, but they are, and also have a collider, any idea?

  • @vizardma
    @vizardma 8 ปีที่แล้ว

    What about flying objects

    • @OfficiaFoxDeltaGames
      @OfficiaFoxDeltaGames  8 ปีที่แล้ว

      Sorry, but I do not know how to make AI for flying objects

    • @vizardma
      @vizardma 8 ปีที่แล้ว

      OfficiaFoxDeltaGames
      ok thank you

  • @vizardma
    @vizardma 8 ปีที่แล้ว

    THANKS

  • @ShyndrythsConcepts
    @ShyndrythsConcepts 9 ปีที่แล้ว

    Thanks man

  • @ZeldafreakNEO
    @ZeldafreakNEO 9 ปีที่แล้ว +3

    I dont have the Action Set Agent. Were do I get it from?

    • @OfficiaFoxDeltaGames
      @OfficiaFoxDeltaGames  9 ปีที่แล้ว +1

      +ZeldafreakNEO You have to download them to your project. It is on the Playmaker Wiki under Add-ons. Heres the link hutonggames.fogbugz.com/default.asp?W1174

    • @GG-gu3pl
      @GG-gu3pl 6 ปีที่แล้ว

      from ecosystem - addon manager for playmaker