box2d-jquery
box2d-jquery copied to clipboard
Divs are not respecting rotation values
Hi!
I'm trying to rotate divs to use them as static diagonal obstacles.
The css rotation values seem to get overridden as soon as I make the div participate in the physics simulation. This makes sense for dynamic objects. But I imagine there should be some way of rotating static elements?
To re-cap: Is it possible to give static elements custom rotational values and what would the correct syntax be?
we will probably do some SVG sometime in the future (if i manage to probably revive this project again)
Hi!
Thanks for your reply! Does it basically mean that before there is SVG support, there is no way to rotate static elements? Not even with javascript?
By the way, I think this project has a lot of potential because it is so simple to set up compared to other physics engines.