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

Making impact sensors ignore tagged objects

Archive: 11 posts


So, I've now had several occurances where I have wanted a tweak on impact sensors so that they can ignore certain tagged objects.

For instance, I have a spaceship that shoots lasers, and the lasers disappear when the touch something. I would prefer it that the impact sensors ignored the other lasers and only impacted things that I wanted. Is there something that I can do to do this, or am I just out of luck on this one?

I did think about combinations of impact sensors like (NOT taggedObjectImpactSensor) AND (impactSensor), but this would only "hit" something when it's not touching another laser, so technically touching lasers could go through walls.

Thanks!
2012-11-24 20:59:00

Author:
ChrisF2112
Posts: 265


I too could really use this as well. I haven't found any way to do it but I really suck at using logic that I don't know how to use. I haven't looked into impact sensors enough to know exactly what they do. The quickest solution towards yours, I think, would be have everything have 1 tag on it and simply destroy the laser when it touches the object. It would be annoying but it would get the job done.2012-11-24 21:07:00

Author:
koltonaugust
Posts: 1382


Yeah, that's how I did it the first time I needed it. It's just a big pain to have to do that.2012-11-24 21:16:00

Author:
ChrisF2112
Posts: 265


Put down an impact sensor and connect it to an AND gate. Put down another impact sensor that detects a tag and connect it to a NOT gate and then the NOT gate to the AND gate. Then connect the AND gate to a destroyer. Attach a tag (associated with the tagged impact sensor) to the laser and there you have it! Hope this helps2012-11-24 21:33:00

Author:
airide101
Posts: 141


Put down an impact sensor and connect it to an AND gate. Put down another impact sensor that detects a tag and connect it to a NOT gate and then the NOT gate to the AND gate. Then connect the AND gate to a destroyer. Attach a tag (associated with the tagged impact sensor) to the laser and there you have it! Hope this helps

That's exactly what I described in the question, but it still doesn't work as it can go through walls if it's touching another laser.
2012-11-24 21:36:00

Author:
ChrisF2112
Posts: 265


Ohh hehe sorry, I also misunderstood but I get it now. Your laser is made out of either hologram or sticker panel right? Well in LBP Vita, when you put an impact sensor on a dephisicalized object (hologram or sticker panel) it will only detect impacts from another dephisicalized object (hologram or sticker panel). It will not detect solid objects (they don't have the "include touching" option like in LBP2). So you can either make the lasers solid, or copy all of the walls and make them out of sticker panel and put it in the same spot (so that you have a solid wall and a dephisicalized wall in the same spot). This will at least solve the big problem of them going through walls. Hope this helps!2012-11-25 17:17:00

Author:
airide101
Posts: 141


I think you still misunderstood. I have no problems getting the lasers to disappear, what I'm trying to accomplish is to get the lasers only able to go other lasers and nothing else. If all the lasers are sticker panel or hologram, they will all still collide with other lasers. The only way I've found around this would be to make every wall and floor have a tag on it that would trigger the laser to disappear.

Obviously, it's not an ideal solution to have to tag every object a laser could possibly hit, but I cannot think of another way at the moment.
2012-11-25 22:04:00

Author:
ChrisF2112
Posts: 265


Ohh hehe sorry, I also misunderstood but I get it now. Your laser is made out of either hologram or sticker panel right? Well in LBP Vita, when you put an impact sensor on a dephisicalized object (hologram or sticker panel) it will only detect impacts from another dephisicalized object (hologram or sticker panel). It will not detect solid objects (they don't have the "include touching" option like in LBP2). So you can either make the lasers solid, or copy all of the walls and make them out of sticker panel and put it in the same spot (so that you have a solid wall and a dephisicalized wall in the same spot). This will at least solve the big problem of them going through walls. Hope this helps!

I sent a tweet for Tarsier about the ''include touching'' option:

Me: ''LBPV: Do You plan adding "include touch" on impact sensor?''
Tarsier: ''As in physically touching the sensor with your finger? Or the old LBP2 setting? The latter is now called "Include Adjacent Layers"

2012-11-26 14:14:00

Author:
cakito123
Posts: 353


You could make a hit detection system for walls. Put that "Hit Detection" tag on anything you want to destroy the lasers with, for example the walls. On the laser itself have the destroy logic (If "Hit Detection" Impact Senor then Destroy). Don't place the "Hit Detection" tag on anything you don't want to count as a hit.

Hope I understood you correctly, and that this helps.
2012-11-26 16:49:00

Author:
Shamanate
Posts: 26


I think you still misunderstood. I have no problems getting the lasers to disappear, what I'm trying to accomplish is to get the lasers only able to go other lasers and nothing else. If all the lasers are sticker panel or hologram, they will all still collide with other lasers. The only way I've found around this would be to make every wall and floor have a tag on it that would trigger the laser to disappear.

Obviously, it's not an ideal solution to have to tag every object a laser could possibly hit, but I cannot think of another way at the moment.

My bad, I was talking about something else but nvm. At this point I would just try putting one tag on all of the walls and make the laser detect that to destroy.
2012-11-26 23:06:00

Author:
airide101
Posts: 141


I sent a tweet for Tarsier about the ''include touching'' option:

Me: ''LBPV: Do You plan adding "include touch" on impact sensor?''
Tarsier: ''As in physically touching the sensor with your finger? Or the old LBP2 setting? The latter is now called "Include Adjacent Layers"



WOOOW I was wondering what that option was. If only I knew that before haha, it would of saved me alot of time and work. Thanks!
2012-11-26 23:10:00

Author:
airide101
Posts: 141


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.