Physics: revolve-joint bug

Bugs will be moved here once resolved.

Post » Thu Jun 21, 2012 6:24 am

I seem to have found a physics bug. Im working on a Favourite Features entry for revolve-joint, but occasionally the physics breaks. There are several scenarios, but the most repeatable is to spin until the balloons happen to touch, blocking movement. The next spin will result in these balloons not moving, unless they happen to be hit by the third balloon - then they jump to their revolve-joint position and behave as expected.

There are other scenarios where even with no balloon touching any other, they all remain stationary indefinitely.

Wheel-O-Doom-b.capx
ImageImageImage
B
67
S
19
G
124
Posts: 3,216
Reputation: 74,419

Post » Thu Jun 21, 2012 3:19 pm

I would think this is not a bug, but just the fact Physics doesn't interact well with other behaviors, as described in the Physics Basics tutorial. For example, you should definitely make the board spin by setting the Physics angular velocity. Using the Rotate behavior will cause the Physics behavior to keep "teleporting" the object round to keep up with the other behavior, which could cause weird things to happen. Does it work better if you do it that way?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sun Jul 01, 2012 4:47 pm

Keeping everything as Physics does appear to work better, although it takes more work for the same result. Close this bug.
ImageImageImage
B
67
S
19
G
124
Posts: 3,216
Reputation: 74,419


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests