Hard Light Bridge On Unity

Has anyone played Portal 2? There is a Hard Light Bridge, which I would like to recreate. I’m talking about the design. So I shoot a wall with a particle system, and the wall shoots the a ‘laser thing’ onto the place it is facing. The laser than stops at a certain limit. Then floating random cubes fill the laser particle to make a ‘bridge’. Once you deactivate the laser, the cubes either gain dynamics and fall down, or fizzle up. Is this possible at all?

It is possible, but it would take a lot of scripting, and unless you post this in collab to get more help, I don’t think anyone will have a straight answer for you

I wont go too much in detail on it for the same reason Cat_Ninja didn’t but here’s how I would go about it.

  1. Draw the laser
  2. Make a “Source” object that will face outward of the wall it was shot onto.
  3. using the “Source” as a point of reference I would spawn some “Blocks Go Here” objects that basically mark where the blocks go.
  4. make the blocks spawn and then move into their designated points. (mind you they would have disabled rigidbodies on them)
  5. when its time for the blocks to go away enable the rigidbody
  6. profit.

While its an interesting question and if I had the time I’d likely do it just for the heck of it, but that should at least get you pointed in the right direction. I don’t know how your coding is though and I doubt that that method would be the most optimized but it would work regardless.