Jump to content

sprites vs sprite collision not accurate?


ghostrifle
 Share

Recommended Posts

Hey guys,

 

I'v run into a problem with collisions between sprites vs sprites. Here's a screenshot to illustrate my problem:

y9p3rc4h.png

 

so... the yellow block is the player and I want to move it to the left it won't work cause it collides with the left face of the player. The strange thing is: the collision tile (gray ones) in this screenshot has the same y(+height) of 320 and the movement works there.

 

I think it has to do how phaser manages colisions with tiles and sprites (the stones are sprites). But is there a way to configire the physics of a sprite lik th tile ones ?

 

Regards, Alex

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...