Question

Testing out my flash based iOS billiard game:

https://www.dropbox.com/s/hinx2j67xzq3ovs/poolX.jpg

I discovered that the white ball sometimes simply goes through the other balls, while it collides with the other.

Is there a setting I miss?

I set the white ball body to awake before applying SetLinearVelocity().

Do other bodies need to be set awake or what?

Mirza

Était-ce utile?

La solution

Try to use isBullet=true property on your ball body. (not proper collision in box2d)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top