darkjack7 4 Posted May 28, 2016 im trying to figure out how to open Gates in pathfinding, can somebody help
LogicSoup 92 Posted May 28, 2016 using I believe getWalking().getAStarPathFinder().addObstacle(new PassableObstacle());
darkjack7 4 Author Posted May 28, 2016 using I believe getWalking().getAStarPathFinder().addObstacle(new PassableObstacle()); could u give us an example pls? :x
Dreamlicker 750 Posted May 28, 2016 getWalking().getAStarPathFinder().addObstacle(new PathObstacle("I am an object", "I am its' action", null, null, null));
darkjack7 4 Author Posted May 29, 2016 i tried to add getWalking().getAStarPathFinder().addObstacle(new PathObstacle("I am an object", "I am its' action", null, null, null)); to the onStart but it gave me an error that "Cannot instantiate the type PathObstacle" i tried getWalking().getAStarPathFinder().addObstacle(new PassableObstacle("I am an object", "I am its' action", null, null, null)); but it doesn't seem to work as the char keeps trying to spam click the other side, any ideas? :x
Recommended Posts
Archived
This topic is now archived and is closed to further replies.