i have cloud sprite sheets that has lightning on them. How can i put physic shapes on some of the frames which have the lightning animation without affecting the non-lightning frames? Please help! [import]uid: 91271 topic_id: 15435 reply_id: 315435[/import]
You should not try to change physics objects during animation. This might cause big trouble with dynamic objects since momentum etc. changes and afaik it is not even supported.
I would split the animation - play until the lightning, add the shape and remove it after lightning is done.
Not nice but should do. [import]uid: 9611 topic_id: 15435 reply_id: 57062[/import]
Thanks for the swift reply andreas!
Im pretty new with this. How can I remove the shape? [import]uid: 91271 topic_id: 15435 reply_id: 57063[/import]
http://developer.anscamobile.com/reference/index/physicsremovebody [import]uid: 9611 topic_id: 15435 reply_id: 57064[/import]
Thanks! [import]uid: 91271 topic_id: 15435 reply_id: 57065[/import]