Jump to content

Sprite.Body.debug not working with Lines


ZoomBox
 Share

Recommended Posts

Hello.

 

I noticed that mySprite.body.debug = true; doesn't not works properly with Line bodies.

Actually, it works but only if there is no angle applied to the line.

 

Here is the example:

188185Capture.png

This wood platform on the center, has a Line body with debug=true and is tilted by something like 22.5°, it's tilted as expected when I'm walking on it but not rendered as expected.

 

PS: The sprite image itself is no tilted so it could be confusing, sorry.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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