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

Hologram Collision

Archive: 17 posts


Is there any way to make hologram collide? By that, I mean not go through other materials. It is important for my level.2011-09-27 07:43:00

Author:
alaskadawn
Posts: 101


No however there is a way to make hologram boundaries. I dont know it though.2011-09-27 07:48:00

Author:
craigmond
Posts: 2426


Any particular reason it needs to be hologram? Could you not use Neon instead?2011-09-27 10:00:00

Author:
SR20DETDOG
Posts: 2431


Any particular reason it needs to be hologram? Could you not use Neon instead?

He probably wants people and normal objects to fall through the hologram but not hologram itself.
2011-09-27 10:46:00

Author:
SnipySev
Posts: 2452


He probably wants people and normal objects to fall through the hologram but not hologram itself.
Yeah, I kinda assumed as much, but he didn't really explain why he needed Holo to collide with itself. So I started with the most simple idea.

Which makes me realise I completely forgot to ask in my last post, what are you specifically trying to achieve here Alaska Dawn? There's lots of different ways to go about this, each with their own pros/cons and varying complexity. If you give us a little more info it'll be easier to help. Is it just sackboy that needs to move through it? and/or objects? Thick and/or thin objects?

I could tell you to just stick an invisible piece of thin solid material onto the front of the holo blocks. This would mean they collide with anything in the thin layer but not in the thick. But I really have no idea if that would work for you at all.
2011-09-27 11:23:00

Author:
SR20DETDOG
Posts: 2431


There is a way to make holo solid. Basically create your holo object, pop a creature brain on it, then jump on the creature brain... thus destroying the object. At that precise moment of destruction, you need to pause (pressing the d-pad, not start button I mean), and copy the object.2011-09-27 12:47:00

Author:
Ali_Star
Posts: 4085


If the hologram colliding thing you want is only for a particular section, then you could try using the rope connector - and then simply make it invisible. By that, I mean attaching the rope to the hologram and another static material, and then adjusting the length of the rope so it stops short when it is fully extended... if that makes any sense?

Alternatively you could probably figure out some way of using tag sensors to override the hologram material to stop when it needs to - so, for example, have a tag sensor set to a certain radius. Whenever it goes near a wall, a tag on the way will stop the hologram from going any further? I haven't experimented with this myself, but I see no reason why it couldn't work with a little tweaking...

2011-09-28 00:21:00

Author:
standby250
Posts: 1113


I made a tutorial about this
|
V
2011-09-28 00:55:00

Author:
Bremnen
Posts: 1800


ignore, i was thinking of something else.2011-09-28 01:00:00

Author:
GribbleGrunger
Posts: 3910


the technique ali_star described works perfectly , although the holo will collide only with other materials and objects, and sackboy can still run through it.2011-09-28 01:14:00

Author:
Skalio-
Posts: 920


if a glitch does it, then that'll do2011-09-28 01:50:00

Author:
GribbleGrunger
Posts: 3910


If the hologram colliding thing you want is only for a particular section, then you could try using the rope connector - and then simply make it invisible. By that, I mean attaching the rope to the hologram and another static material, and then adjusting the length of the rope so it stops short when it is fully extended... if that makes any sense?

Alternatively you could probably figure out some way of using tag sensors to override the hologram material to stop when it needs to - so, for example, have a tag sensor set to a certain radius. Whenever it goes near a wall, a tag on the way will stop the hologram from going any further? I haven't experimented with this myself, but I see no reason why it couldn't work with a little tweaking...



I hadn't though of this! Thank you!

And to everyone else, I need it to not collide because I have a cursor for a top down level and I didn't want it to leave the screen. Thank you all for responding. The LBPC community is very helpful.
2011-09-28 07:20:00

Author:
alaskadawn
Posts: 101


That's more of a 'bounding box' you are looking for I have something up for grabs in my level Doc's Workshop called Mr_Cursorator. It is exactly this concept it's there for you to grab, pull apart and make better.2011-09-28 08:39:00

Author:
Mr_Fusion
Posts: 1799


Bounding box? Check the tutorial in my signature. It is not so much suitable for collision with random shapes, though.2011-09-28 10:11:00

Author:
Antikris
Posts: 1340


On my level the ship that's an hologram will not go further than the boundaries of the screen, said that I achieved this as other says, with sensors and tags.

Is easy, just disable the direction where the hologram detect the "boundary". As soon I get home I will get a snapshot of the logic and will publish it here. But as Antikris says may be his tutorial will help.
2011-09-28 14:15:00

Author:
xquake
Posts: 73


You are looking for Antikris' bounding box.2011-09-28 15:28:00

Author:
nunsmasher
Posts: 247


OOH OOOH OOOH I KNOW THE ANSWER TO THIS ONE!

Ok so I did this in my zwing game, what you do is make a wall behind the hologram, and glue some form of solid material to the hologram on different layers, the solid material will slam into things on that layer and pass through things that are not.

(Looking back at that its a little confusing..ask me if I didn't state it clear enough.)
2011-09-29 04:42:00

Author:
Turtlelink2
Posts: 73


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.