collision detection

FrontRoomGamesFrontRoomGames Member Posts: 116
edited November -1 in Working with GS (Mac)
so ive created a level 1 maze and i have my actor but for somereason it collides with the wall way before my actor even touches it, why is this?

my actor wont even go thru the maze cause it hits on both sides...

Comments

  • wormilwormil Member Posts: 127
    There's not much info here to give an answer that might help you. Post a screen shot or something and some debug info saying which actor is getting hit.
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    heres the screen shot:
    [IMG]http://i54.tinypic.com/alkbas.png[/IMG]
    and the mouse was pointed the other way trying to go in that hole and thats as close at it owuld let me go.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    so that maze is one image correct and your telling it to collide with the player? because that wont work. The collision will take place with the whole border of the image. Like it was said in the other thread, you need to use actors to make walls for the maze and then collide with them, not the image
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    the maze is all sperate wall parts.. i did it the right way..
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    are u using a image for the wall as well or just a actor with no image
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    the wall is just the box no picture
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    12vCummins said:
    the wall is just the box no picture

    then the problems most likely in your mouse player actor. Is the image for it cropped right to the edge becuase the edge around the image will collide as well, it also might help to change the collision shape to a circle
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    alright i didnt think about that i went into photoshop and trimmed it down and now it works good, just 1 problem when i let off the arrow key it just wants to like spin in one spot then when i get a key to make it move it stops and acts normal till i let off. any sugestions?
  • ChobbifaceChobbiface PRO Posts: 491
    Put some angular drag on the actor by opening up the actor, on the left under physics section
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    angular drag of 200 still dont work..
Sign In or Register to comment.