Spring in AS7 using physics?

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

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Spring in AS7 using physics?

Post by sbtamu »

I have been trying, with little luck, to make this but I just can not seem to figure out how to do it.

Any tips?

Thanks

Stephen

Image
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
GCharb
Posts: 2276
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

Tried rigging it with dynamic bones?
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

GCharb wrote:Tried rigging it with dynamic bones?
I sure haven't. I am trying to use all physics to make a machine do work of some kind. I will see if dynamics will work with physics.

Thanks for the tip.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
slowtiger
Posts: 6256
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

One way to do it:
Start from the bottom. Create one zigzag line of bones and name them: 1, 2, 3, 4, 5, 6...
Select any odd bone and let its angle be controlled by bone #1 with "2".
Select any even bone and let its angle be controlled by bone #1 with "-2".
Repeat for the other zigzag line.
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Thanks GCharb, I tried the dynamics but I can not get it to work well with the falling ball with physics.

Thanks slowtiger, I tried to do it the way you explained but It did not work. I am sure It was the way I set it up was wrong though.

What I am trying to do is use physics and drop a ball on the spring(like the one used in Mario Brothers games) to compress the spring enough to trigger a switch and then bounce back to its original uncompressed state.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
Post Reply