Tuesday 15 May 2012

ios - SpriteKit rotation when collision does not work -


I have to simulate this collision, but my objects will not rotate. So the collision works well, but without rotation.

it's weird

I would say, because you set friction to 0.0 It does not feel anything to spin it.

For this, also check the property of "permission rotation" on the physics body, also be set to true.


No comments:

Post a Comment