playMaker

Author Topic: A* pathfinding (stable 0v841)  (Read 226779 times)

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: A* pathfinding (stable 0v841)
« Reply #360 on: March 01, 2015, 11:47:07 PM »
Basic grid graphs.

kiriri

  • Hero Member
  • *****
  • Posts: 506
Re: A* pathfinding (stable 0v841)
« Reply #361 on: March 02, 2015, 12:10:58 AM »
UpdateGraph and CreatePathTo were missing, quickly wrote them. I ported CreatePathTo to cs and renamed it to capital letters so Playmaker may or may not update your references.
Edit : and they do work in Unity 4.6
« Last Edit: March 02, 2015, 12:14:01 AM by kiriri »
Best,
Sven

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: A* pathfinding (stable 0v841)
« Reply #362 on: March 02, 2015, 01:31:58 AM »
Trying to Incorporate to the latest Astar and my scene I get the following errors:

Assets/AStarPlaymakerActions/FsmPathfinding/MoveTo.cs(310,41): error CS0104: `FleePath' is an ambiguous reference between `HutongGames.PlayMaker.Dummies.FleePath' and `Pathfinding.FleePath'
Assets/AStarPlaymakerActions/FsmPathfinding/MoveTo.cs(310,41): error CS0103: The name `FleePath' does not exist in the current context
Assets/AStarPlaymakerActions/FsmPathfinding/MoveTo.cs(316,41): error CS0104: `RandomPath' is an ambiguous reference between `HutongGames.PlayMaker.Dummies.RandomPath' and `Pathfinding.RandomPath'
Assets/AStarPlaymakerActions/FsmPathfinding/MoveTo.cs(316,41): error CS0103: The name `RandomPath' does not exist in the current context

Any thoughts on the proper resolution?

kiriri

  • Hero Member
  • *****
  • Posts: 506
Re: A* pathfinding (stable 0v841)
« Reply #363 on: March 02, 2015, 02:52:09 AM »
You're using pro?
If so remove the AStarPlaymakerActions/FsmDummy folder. This is the version for free users. As a pro user you don't need the "dummy pro scripts"
« Last Edit: March 02, 2015, 02:55:24 AM by kiriri »
Best,
Sven

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: A* pathfinding (stable 0v841)
« Reply #364 on: March 02, 2015, 03:22:57 AM »
So when I trash that folder I get,

Assets/AStarPlaymakerActions/FsmPathfinding/MoveTo.cs(112,25): error CS0246: The type or namespace name `RVOController' could not be found. Are you missing a using directive or an assembly reference?
Assets/AStarPlaymakerActions/FsmPathfinding/MoveTo.cs(2,29): error CS0234: The type or namespace name `Dummies' does not exist in the namespace `HutongGames.PlayMaker'. Are you missing an assembly reference?
Assets/AStarPlaymakerActions/FsmPathfinding/helpers/FsmConverter.cs(8,19): error CS0234: The type or namespace name `Nodes' does not exist in the namespace `Pathfinding'. Are you missing an assembly reference?
Assets/AStarPlaymakerActions/FsmPathfindingWrappers/FsmPathfindingC/GetWalkabilityInArea.cs(8,19): error CS0234: The type or namespace name `Nodes' does not exist in the namespace `Pathfinding'. Are you missing an assembly reference?
Assets/AStarPlaymakerActions/FsmPathfinding/MoveTo.cs(2,29): error CS0234: The type or namespace name `Dummies' does not exist in the namespace `HutongGames.PlayMaker'. Are you missing an assembly reference?
Assets/AStarPlaymakerActions/FsmPathfinding/helpers/FsmConverter.cs(8,19): error CS0234: The type or namespace name `Nodes' does not exist in the namespace `Pathfinding'. Are you missing an assembly reference?
Assets/AStarPlaymakerActions/FsmPathfindingWrappers/FsmPathfindingC/GetWalkabilityInArea.cs(8,19): error CS0234: The type or namespace name `Nodes' does not exist in the namespace `Pathfinding'. Are you missing an assembly reference?

kiriri

  • Hero Member
  • *****
  • Posts: 506
Re: A* pathfinding (stable 0v841)
« Reply #365 on: March 02, 2015, 03:35:46 AM »
I don't have access to my desktop right now, I'm sorry for the false hopes, I was sure it'd work for pro as well, but apparently the rvo controller has been replaced. I will have to look into it this evening.  :-\
Best,
Sven

Anflo

  • Playmaker Newbie
  • *
  • Posts: 8
Re: A* pathfinding (stable 0v841)
« Reply #366 on: March 02, 2015, 08:00:55 AM »
"Can Search" "Can Move" bool. for seeker AIPath.
Pleaaaaaaaaase.

Anflo

  • Playmaker Newbie
  • *
  • Posts: 8
Re: A* pathfinding (stable 0v841)
« Reply #367 on: March 05, 2015, 05:29:39 PM »
Is there any Playmaker action to change the target in the AIPath script while the game is running. I would love to if possible that so I can change the gameobjects.

Thanks in advance

hensoup

  • Playmaker Newbie
  • *
  • Posts: 13
Re: A* pathfinding (stable 0v841)
« Reply #368 on: March 09, 2015, 03:50:08 AM »
cannot intall with 0v841 package I tried to get it intsall but I keep getting a huge list of compile errors.

Sly

  • Full Member
  • ***
  • Posts: 123
Re: A* pathfinding (stable 0v841)
« Reply #369 on: March 09, 2015, 08:13:44 AM »
cannot intall with 0v841 package I tried to get it intsall but I keep getting a huge list of compile errors.

If you give to the author more infos probably he can help you.

hensoup

  • Playmaker Newbie
  • *
  • Posts: 13
Re: A* pathfinding (stable 0v841)
« Reply #370 on: March 09, 2015, 11:49:06 AM »
I got it sorted for now .

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: A* pathfinding (stable 0v841)
« Reply #371 on: March 18, 2015, 04:03:53 PM »
Just checking in for any updates, how's it all going?

HalfVoxel

  • Playmaker Newbie
  • *
  • Posts: 1
Re: A* pathfinding (stable 0v841)
« Reply #372 on: March 21, 2015, 04:47:08 PM »
Author of the A* Pathfinding Project here.

Just wanted to let you know that if you have any problems writing this library, I will be happy to help. I am not watching this forum thread, but you can send me a PM on forum.arongranberg.com.

A big thumbs up for working on this extension! : )

Also, when you feel it is stable enough, I will be happy to add it to the extensions page on the website.

bizilux

  • Full Member
  • ***
  • Posts: 171
Re: A* pathfinding (stable 0v841)
« Reply #373 on: March 27, 2015, 04:30:16 PM »
is it possible to use these actions in 2D top down environment?

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: A* pathfinding (stable 0v841)
« Reply #374 on: March 29, 2015, 07:02:04 PM »
Hey HalfVoxel, any ability to include Playmaker integration into a future expansion as either part of the official pack or some standalone expansion code for sale? I suspect without any financial benefit Playmaker integration will always lag beyond your latest and greatest.