Link to Demo Here
Hi people, first off fantastic work on this project to everybody involved, they know who they are. Box2d is a god send to developers like me.
I have several issues with the above demo, my edge chains (many thanks shaktool for all your hard work on this) seem to have a problem with boxs but only at the point where the chain loop begins and ends, circles do not seem to have this problem, I am creating my chains by adding points recorded by the user mouse then creating the chain and calling body.CreateShape(chainDef);).
The second odd issue I have is the wheels quite often seem to stick to the floor lagging behind the truck somewhat (I understand this s most likely physic tweaks i.e. densities of my objects etc) but wondered if anyone had experienced what am seeing in my demo before.
Another problem and really this one isn't quite so box2d related, in the editor you draw ground objects by drawing rock shapes in a clockwise motion, if a user was to draw the shape anti clockwise the truck would be sucked into the shape with the hit detection on the inside of the shape. I understand that i could oppose the segment ends, but can anyone think of an elegant way to detect how or what the user has drawn 🙂
Many Thanks in Advance.
Tom
Hi people, first off fantastic work on this project to everybody involved, they know who they are. Box2d is a god send to developers like me.
I have several issues with the above demo, my edge chains (many thanks shaktool for all your hard work on this) seem to have a problem with boxs but only at the point where the chain loop begins and ends, circles do not seem to have this problem, I am creating my chains by adding points recorded by the user mouse then creating the chain and calling body.CreateShape(chainDef);).
The second odd issue I have is the wheels quite often seem to stick to the floor lagging behind the truck somewhat (I understand this s most likely physic tweaks i.e. densities of my objects etc) but wondered if anyone had experienced what am seeing in my demo before.
Another problem and really this one isn't quite so box2d related, in the editor you draw ground objects by drawing rock shapes in a clockwise motion, if a user was to draw the shape anti clockwise the truck would be sucked into the shape with the hit detection on the inside of the shape. I understand that i could oppose the segment ends, but can anyone think of an elegant way to detect how or what the user has drawn 🙂
Many Thanks in Advance.
Tom