need help with SAME actors colliding :S

rickynikorickyniko Member Posts: 85
edited November -1 in Working with GS (Mac)
ok, so im most way through my game right now, and have come across a MAJOR flaw.

in this game, the actor has to push crates to the allocated spots, in order to get to the next level,
theres one problem,
if one crate is next to the other, i dont want to be able to push them both in the same direction, , is there a way i can stop this from happening?

Comments

  • peachpellenpeachpellen Member Posts: 977
    Have you tried creating different actors for the crates?

    Crate 1, Crate 2, etc?
  • rickynikorickyniko Member Posts: 85
    no i haven't, i was thinking about doing that, but wouldnt it end up doing the exact same thing if they had the same rule's/attributes?
  • quantumsheepquantumsheep Member Posts: 8,188
    Are you trying to push one crate past the other?

    QS

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • rickynikorickyniko Member Posts: 85
  • rickynikorickyniko Member Posts: 85
    quantumsheep said:
    Are you trying to push one crate past the other?

    nope, im trying to do it so that if one crate collides with the other, the player cant push them both in the same direction, right now, if they collide, i can push them both at the same time, which isn't what i want,
    (thanks for the responce's guys, really trying to make this game making process fast)
    quantumsheep said:
    Are you trying to push one crate past the other?

    QS
  • quantumsheepquantumsheep Member Posts: 8,188
    ok, so maybe you need a rule that says:

    If crate collides with entity crate, then stop.

    Several ways to do this which I can't go into right now! Sorry!

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • rickynikorickyniko Member Posts: 85
    quantumsheep said:
    ok, so maybe you need a rule that says:

    If crate collides with entity crate, then stop.

    Several ways to do this which I can't go into right now! Sorry!

    no worries, maybe soon if your not busy,

    & if theres anyone else out there that might be able to help?

    thanks
Sign In or Register to comment.