Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

Need help with AI

Archive: 2 posts


I have a top down level and I have monsters that get emitted and run into walls. I want to make it so they go around walls.

I was thinking of making a follower and doing flee instead of follow and fleeing a colored tag.

When I do that though my other follower gets turned off.

Should I just put a tag sensor hooked up to a follow thats set to flee?
2011-02-15 01:50:00

Author:
Unknown User


I think that would be too simplistic. You're going to need to rig some path-finding logic which isn't exactly easy to do. Basically, you'll need to tell it which way to go to get around the wall, which means you'll need to rig your logic so that when the player is in a certain area, it can tell the bot to take a left at the 7-Eleven and a right at the old high school two blocks up the road... so to speak. I'm pretty handy with logic, but I'm not sure if I would even know how to do it exactly with anything more than a relatively simple map.2011-02-15 05:00:00

Author:
Sehven
Posts: 2188


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.