Frage

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

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top