Jump to content

issue rotation of two sprites


pranadevil
 Share

Recommended Posts

people i got this:

 

this.sheep.forEachAlive(function({                                          nuevodiskette.x = b.body.x;             nuevodiskette.y = b.body.y;                          nuevodiskette.angle = b.angle;             b.angle++;                   }, this);

why the two sprites rotates at same speed but in different x and y? they are supposed to be one on front of the other !!??

any idea?

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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