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

projectile sensor problem

Archive: 4 posts


I'm working on a side-scrolling space shooter, and the ship uses electricity projectiles as its ammo. The first enemy I created, I used a projectile sensor set to electricity, set rigid connections to yes, linked to a score giver. The problem during testing, is that sometimes it gives the points, sometimes it doesn't. Is there a more reliable means of hit detection for scoring purposes?2011-04-14 22:41:00

Author:
Brannayen
Posts: 438


Why don't ya change the projectiles to another material wood or metal maybe and then electrify them using the danger tool. Also turn off the electricity setting on the impact sensor as it won't be needed anymore. The projectiles should be enough to set it off.2011-04-15 00:03:00

Author:
Chicago51
Posts: 258


The problem during testing, is that sometimes it gives the points, sometimes it doesn't. Is there a more reliable means of hit detection for scoring purposes?

Projectile sensors have a short 'recharge time' between detections. Impact sensors do not.
2011-04-15 10:48:00

Author:
Aya042
Posts: 2870


The recharge time shouldn't apply, since it's being used on enemies that are destroyed with one hit. However, I seem to have fixed the problem. I used the same ammo, but put a tag on it, and instead of a projectile sensor, I used an impact sensor set to require that tag. It seems to work every time now.2011-04-15 11:09:00

Author:
Brannayen
Posts: 438


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.