playMaker

Author Topic: How to stick 1 line object in 1 collision in Playmaker (or in Unity) [SOLVED]  (Read 1071 times)

playmakertester

  • Full Member
  • ***
  • Posts: 211
Hi,

We are making a game like Color bumper 3d with Playmaker.
I've been trying to come up with the specifications you see in this video, but it's not going to work.


If you watch this video, you'll see that when you hit one of the blocks that are grouped into a single line, the entire line will stick together.

I've figured out how to make one block stick together, but I can't figure out how to make an entire line stick together.
If you have any advice on how to implement it, I'd appreciate it.

The point is that the block after it is attached will collapse no matter where it hits the black block from.
« Last Edit: August 10, 2020, 11:55:43 AM by playmakertester »

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to stick 1 line object in 1 collision in Playmaker (or in Unity)
« Reply #1 on: August 10, 2020, 10:23:30 AM »
Someone has set that up in this part of the video, but I can't imagine implementing it in Playmaker.


If anyone is good at Playmaker, please let me know.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Hi.
Make groups.

Have 1 line of Objects and parent in a empty object. then on that parent place a fsm and check on collision of each block in 1 state.
then if 1 gets hit parent the whole line to the pushed blocks

playmakertester

  • Full Member
  • ***
  • Posts: 211
Hi djaydino,

Worked! Thanks lot!