Cannot use Physics enabled group with Switch layers?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
DrGhaedi
Posts: 29
Joined: Sat Sep 01, 2012 6:04 pm

Cannot use Physics enabled group with Switch layers?

Post 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
just because nobody understands you does not make you an artist
User avatar
Rai López
Posts: 2228
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: Cannot use Physics enabled group with Switch layers?

Post 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.
...
DrGhaedi
Posts: 29
Joined: Sat Sep 01, 2012 6:04 pm

Re: Cannot use Physics enabled group with Switch layers?

Post 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.
just because nobody understands you does not make you an artist
User avatar
Rai López
Posts: 2228
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Re: Cannot use Physics enabled group with Switch layers?

Post by Rai López »

You're welcome! And... well, any "pretext" to play with physics now and them is always welcomed too :).
...
Post Reply