Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Random Movement
Archive: 4 posts
Hey everyone! Looking for a bit of help with logic, I'm trying to create 'random' movement of a top down enemy when he's on fire i.e. when he's on fire he wanders around aimlessly, no longer following the player. I have no problem stopping him following the player, or detecting when he's on fire, but creating the movement is proving difficult. All the solutions i've tried cause him to wander off north east or south west! Currently using multiple randomisers, timers set to speed scale, directions splitters and combiners in all sorts of combinations but still can't get it to work. If anyone could offer any help or suggestions it would be much appreciated!!! Thanks!! | 2012-06-26 20:19:00 Author: Mopkins Posts: 123 |
Tried this yet? Moves randomly in 4 directions The fire thingy is the stuff that activates this behaviour ;p The blocks on the left are batteries at 100% and -100%. click for epic paint art 40527 I can even draw you an 8-directional random mover, it's a little more difficult though ;p | 2012-06-26 21:19:00 Author: Deurklink1 Posts: 346 |
Sounds like it has potential, I'll definitely check it out! I literally just managed to achieve a basic 4 direction one, but tweaked it to use local space and random rotators, seems to work to provide the illusion for 8 or more direction movement at least to a basic level. I reckon similar could be done with your idea. Thanks for the help!!!! Much appreciated. | 2012-06-26 21:39:00 Author: Mopkins Posts: 123 |
I just created a variable speed random 8-directional mover microchip with Mopkins, so this problem has been solved. If anyone else wants it, just leave me a message somewhere | 2012-06-26 22:25:00 Author: Deurklink1 Posts: 346 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.