Page 1 of 1

Cannot use Physics enabled group with Switch layers?

Posted: Tue Dec 04, 2012 12:20 am
by DrGhaedi
It seems that you cannot apply the physics engine to groups which contain switch layers? Seriously?
All I'm trying to do is get a switch layer of mouths to fall into a container and bounce around. But when I press play,the mouth stays in position seemingly invariant to the physics engine.
Any ideas?

Simple experiment ... Try it for yourself...
1. Create a group layer and enable physics.
2. Placed a switch layer of mouths into this group layer (via the stock props from ASP9).
3. Press play ... Mouths stay suspended

Re: Cannot use Physics enabled group with Switch layers?

Posted: Tue Dec 04, 2012 2:29 am
by Rai López
Hi, just add some bones to the Switch Layer and, if necessary, bind them to points accordingly to your needs. They should react to physics and, therefore, the affected vector points. Just take in mind that bone's Physic Region is what is taken into account for collisions in this case, and not vector shapes itself like on the other case but, again, you can play with Bone/s size and Physic Region to (by approximation) get everything react as expected.

Greetings, and hope it helps.

Re: Cannot use Physics enabled group with Switch layers?

Posted: Tue Dec 04, 2012 11:15 am
by DrGhaedi
Ramon! You are the man! Thank you so very much! Worked exactly like you said! I wish this forum had an iPhone app.

Ramón López wrote:Hi, just add some bones to the Switch Layer and, if necessary, bind them to points accordingly to your needs. They should react to physics and, therefore, the affected vector points. Just take in mind that bone's Physic Region is what is taken into account for collisions in this case, and not vector shapes itself like on the other case but, again, you can play with Bone/s size and Physic Region to (by approximation) get everything react as expected.

Greetings, and hope it helps.

Re: Cannot use Physics enabled group with Switch layers?

Posted: Tue Dec 04, 2012 11:30 am
by Rai López
You're welcome! And... well, any "pretext" to play with physics now and them is always welcomed too :).