Collision shape question... (Triangle)

sebmacflysebmacfly Member Posts: 1,018
edited November -1 in Working with GS (Mac)
Hi all!

I'm trying to find a good way to use a collision shape to a triangle...
We can only use circle or square...

Maybe i can ask a tips to make it work with triangles actors?

Thankssss

Comments

  • MammothMammoth Member Posts: 640
    I don't think that is possible. I would love to have custom collisions though.

    www.mammothinteractive.net
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    yeah youll have to use 3 actors to make the triangle shape and contrain them together if u want to move it around. That wont work for rotation though.
  • kirklandkirkland Removed Posts: 268
    how would you do this with rotation
  • sebmacflysebmacfly Member Posts: 1,018
    JohnPapiomitis said:
    yeah youll have to use 3 actors to make the triangle shape and contrain them together if u want to move it around. That wont work for rotation though.

    Yeah John, i was about to use this way, my triangle graphic it's a wall...
    I 'm gonna use the 3 spawn behavior on my triangle actor...
    I'll spawn 3 actors (one horizontal equal to 256 pixels x 2 pixels, second same vertical so 2x256, and the last actor is 2x256 but with a rotation 45°)

    I don't need my triangle actor to move, so it's a little bit easier.

    What do you think about that?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I think you are wasting valuable performance on spawning. Why would you not just go ahead and place the invisible actors as well.
  • sebmacflysebmacfly Member Posts: 1,018
    Not so much performance wasted because i spawn one time at the start of the scene...? I'm wrong?
    I don't want to place it manually because i have a lot of triangle actors in the different scenes, save me a lot of work...
Sign In or Register to comment.