What I am trying to do it is, two object collide each other, then one of them will move to the center point of the other object. What I did is I use the “transition.to” in the collision event, which works fine…
but now I want to change the angle of the moving object before the transition so that it makes the object head facing to the moving direction.
But once I try to set the object to rotate, the Corona Simulator complains:
“ERROR: Cannot rotate an object before collision is resolved.”
Anyone has any idea how I can rotate an object once it collides with other object?
Thanks
[import]uid: 38556 topic_id: 14980 reply_id: 314980[/import]
[import]uid: 71210 topic_id: 14980 reply_id: 55674[/import]