Collision/bounce issue

saltysaltsaltysalt Member Posts: 2
edited November -1 in Working with GS (Mac)
Hello, I'm making a game that's based around bouncing a ball against triangle bumpers into a "goal". I was able to get the angle down when the ball collides but it's bumping too early as if there is something there. I'm using a cropped triangle PNG image. Can anyone help?

Comments

  • ktfrightktfright Member Posts: 964
    idk, but it might be that the actor still thinks it is a square instead of a triangle. even if it is a triangle, that invisible part of the actor might still be there - even if you cropped it. hope that helped a little bit.
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Thanks for the help with the forum responses ktfright. Keep up the good work.

    saltysalt, as ktfright said, the actor is using a box defined by its width and length for collision. So currently this is the only way collision works. We are looking into collision for shapes other than boxes.

    However, here are a couple of tips.

    If your triangle actor is always on the bottom of the screen, you can can rotate the actor 45 degrees and use the corner of the box as the triangle.

    If you make 3 thin actors, you can make the sides of the triangle. However, rotating the "super-actor" made by the 3 actors would be a tough problem.
  • Scuba_GamesScuba_Games Member Posts: 13
    Any updates on this?

    I could really use triangle collision for my next game.
  • Scuba_GamesScuba_Games Member Posts: 13
    bump!!
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    This is not going to happen anytime soon. Just FYI
Sign In or Register to comment.