c++ - box2d: b2_dynamicBody not moving with b2_kinematicBody platform -
I have a platform (box) that is of type b2_kinematicBody and growing with a linear variation I have a The ball that is B2_Dendive body.
When the ball is ground on the plate, it stays in the same position and does not move forward with the platform.
I saw this short video that shows the problem - - - >>>
Friction has already increased on both objects but there is no result. I can currently think of only one solution which is to make a joint between these two ovaries, who have contact. Is this the right solution?
Thx Kris in advance
PS: Testing in C ++ with the latest version of box2d
If you are talking about why it always runs on the platform, it can be because it does not have any rolling friction (not being confused with surface friction) Rolling friction is why a tire that is very hard to pump longer than rolling tires Sing that little bit flat - rubber turns around because it is used for energy in the rocker box fixtures are absolutely rigid in 2D, which is not possible in the real world. So this circle is like a steel train wheel, which runs on a steel train track, leaving less friction than that.
Try to determine the dipping value of the circle body for about 0.5 degrees. It can be a bit too much, but you should give it a thought. You can find that soaking a high angle makes it very slow while in the air, which seems unnatural. If yes, depending on whether you are touching something or not, you can dynamically adjust the angular damping.
Comments
Post a Comment