You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. change libgdx demo project to set vial body to dynamic body.
2. when run the demo again, the balls does not bother the vial at all.
3.
What is the expected output? What do you see instead?
I am not sure if it is intended. But it would be really nice to use the
polygons as a dynamic body. If this feature is already in, a demo how to do it
would be really nice.
What version of the product are you using? On what operating system?
lastest one as of 1/16/2012 on Windows 2008.
Please provide any additional information below.
Original issue reported on code.google.com by prayer...@gmail.com on 16 Jan 2012 at 5:31
The text was updated successfully, but these errors were encountered:
Hehe, it's completely normal. Actually, if you make the vial dynamic, it will
fall with the gravity, since there is no floor. The vial image doesn't move
because I never update its position/rotation once it is created, but if you add
this behavior, you'll see it falling out of your screen :)
I'll update the demo so the vial is dynamic, and the vial sprite
position/rotation is synchronized to the vial box2d body.
Original comment by aurelien.ribon on 16 Jan 2012 at 7:25
You are right. Sorry for the false alarm. I was setting the position of vial in
update without ground and shouldn't do that in box2d world.
BTW, this software is great. Simple but so effective to create a complex game
with Box2d. Your system made it easy for me to learn Box2D. I am not sure how
I can do anything without it these days.
Original comment by prayer...@gmail.com on 16 Jan 2012 at 10:40
Original issue reported on code.google.com by
prayer...@gmail.com
on 16 Jan 2012 at 5:31The text was updated successfully, but these errors were encountered: