Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Divs are not respecting rotation values #23

Open
oakbarrel opened this issue Sep 30, 2013 · 2 comments
Open

Divs are not respecting rotation values #23

oakbarrel opened this issue Sep 30, 2013 · 2 comments

Comments

@oakbarrel
Copy link

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?

@franzenzenhofer
Copy link
Owner

we will probably do some SVG sometime in the future (if i manage to probably revive this project again)

@oakbarrel
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants