The collision detection now correctly takes the entity as the reference object and uses its position plus the shape pos offset
The collision detection now correctly takes the entity as the reference object and uses its position plus the shape pos offset

body rect should act as a cache only and not be used as it was the case
here.

note there is still something wrong somewhere, as translating a shape
position is not working properly (the renderable also move accordingly)

srbala/melonJS,gopalindians/melonJS,srbala/melonJS,rlugojr/melonJS,TukekeSoft/melonJS,MarkoIvanetic/melonJS,TukekeSoft/melonJS,rlugojr/melonJS,rlugojr/melonJS,gopalindians/melonJS,MarkoIvanetic/melonJS,TukekeSoft/melonJS,gopalindians/melonJS,melonjs/melonJS,melonjs/melonJS,srbala/melonJS