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

Emitters which fire at the player

Archive: 9 posts


Hi there, currently making a boss for my level, however, I've run into a bit of a problem. How would I go about making an emitter where the projectiles track the player?
Thanks
2011-06-04 23:11:00

Author:
Unknown User


Emitter and look at rotator in a microchip on watever your 'gun' is. make sure its on a bolt so it can turn.

edit, nvm, reread your post. put a follower on the projectiles, make acceleration low of you want it to have trouble tracking the player (otherwise it'd always hit).
2011-06-04 23:15:00

Author:
SSTAGG1
Posts: 1136


SSTAG1 had it right unless your firing projectiles, then you would need to place a follower on the object.

Edit, Sorry reread SSTAG1's post, he nailed it.
2011-06-05 14:00:00

Author:
Jakeamorris25
Posts: 72


If you mean a bullet that is fired into the direction of the player but does not change trajectory to follow the player: set a timer of .1 seconds on the bullet, inverted, and wire it to a follower. If the object is holo then it's good to go, else you will need a gravy tweaker as well. When the bullet is emitted, it briefly follows the player; its momentum will make it continue in a straight line after that 0.1 second. You emit it on top of the emitter with no velocity set in the emitter options.2011-06-08 07:43:00

Author:
Antikris
Posts: 1340


That actually sounds like a very simple, yet very cool looking way to make projectiles. Hmm, going to have to think up some ways to spice up my own now.2011-06-08 07:59:00

Author:
SSTAGG1
Posts: 1136


That actually sounds like a very simple, yet very cool looking way to make projectiles. Hmm, going to have to think up some ways to spice up my own now.

I can vouch for that method. In the vertical shooter I am building dozens get hurled at the player at any given moment, so the simpler the logic, the better the performance. Hook me up on PSN to come and have a look.
2011-06-08 14:13:00

Author:
Antikris
Posts: 1340


If you mean a bullet that is fired into the direction of the player but does not change trajectory to follow the player: set a timer of .1 seconds on the bullet, inverted, and wire it to a follower. If the object is holo then it's good to go, else you will need a gravy tweaker as well. When the bullet is emitted, it briefly follows the player; its momentum will make it continue in a straight line after that 0.1 second. You emit it on top of the emitter with no velocity set in the emitter options.

What a great idea!
2011-06-08 14:14:00

Author:
shane_danger
Posts: 283


If you mean a bullet that is fired into the direction of the player but does not change trajectory to follow the player: set a timer of .1 seconds on the bullet, inverted, and wire it to a follower. If the object is holo then it's good to go, else you will need a gravy tweaker as well. When the bullet is emitted, it briefly follows the player; its momentum will make it continue in a straight line after that 0.1 second. You emit it on top of the emitter with no velocity set in the emitter options.

Can't you just set the emitter to shoot straight (such as out of the barrel of a gun) and set it to 'local space: yes'? Then you put the follower on a movable object that 'shoots' the gun and points at sackboy the entire time.

I could just be talking nonsense here, as I don't have access to LBP at the moment and can't recall if this is how it works. I am also not even close to being an expert on emitters.

Or are you looking to make "homing" missles?
2011-06-08 15:22:00

Author:
schm0
Posts: 1239


Can't you just set the emitter to shoot straight (such as out of the barrel of a gun) and set it to 'local space: yes'? Then you put the follower on a movable object that 'shoots' the gun and points at sackboy the entire time.

I could just be talking nonsense here, as I don't have access to LBP at the moment and can't recall if this is how it works. I am also not even close to being an expert on emitters.

Or are you looking to make "homing" missles?

You can do that but if you do not want to have a barrel aim at the player...
2011-06-08 22:25:00

Author:
Antikris
Posts: 1340


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.