WM 2d Question

Miscellaneous news and views...

Moderator: scott

Post Reply
VergingOnDone
Enthusiast
Enthusiast
Posts: 91
Joined: Sun Dec 14, 2003 7:45 am
Location: Vancouver, BC

WM 2d Question

Post by VergingOnDone »

Can you lock and unlock a joint connection during various times in a timeline?
I'm trying to get a joint to lock and release during movement can it be done?
User avatar
Ed
Addict
Addict
Posts: 2049
Joined: Mon Jul 26, 2004 7:13 pm
Contact:

re: WM 2d Question

Post by Ed »

You can create a rigid joint in the same position as a pin joint and then uncheck "Always" under "Active when" and add a formula like "and(frame()>100,frame()<200)", which would make the joint locked when the frame number is between 100-200. You could also substitue the formula "and(t >2.5,t<10)" which would make the joint rigid between 2.5 and 10 seconds from start of the simulation. You could even make a joint lock or unlock interactively by using a button in the formula.
VergingOnDone
Enthusiast
Enthusiast
Posts: 91
Joined: Sun Dec 14, 2003 7:45 am
Location: Vancouver, BC

re: WM 2d Question

Post by VergingOnDone »

Ah thanks, I saw the properties window active check box and value under but wasn't sure how to set it's values thanks!
Oh could you describe the button / formula feature because I need the unlock/lock to happen throughout the timeline.
Thanks again.
User avatar
Ed
Addict
Addict
Posts: 2049
Joined: Mon Jul 26, 2004 7:13 pm
Contact:

re: WM 2d Question

Post by Ed »

Go to "Define/New Control" and create a generic control. Change the properties of the control to make it a button and then put Input[#] in the "Active when" field.

In case you need it, here is a link to the complete formula reference for WM2D.

http://mdae.snut.ac.kr/pds/lecture/pds/ ... erence.pdf

Good luck!
VergingOnDone
Enthusiast
Enthusiast
Posts: 91
Joined: Sun Dec 14, 2003 7:45 am
Location: Vancouver, BC

re: WM 2d Question

Post by VergingOnDone »

Thanks again for the help!
User avatar
Ed
Addict
Addict
Posts: 2049
Joined: Mon Jul 26, 2004 7:13 pm
Contact:

re: WM 2d Question

Post by Ed »

No problem, any time.
sleepy
Aficionado
Aficionado
Posts: 509
Joined: Wed Feb 09, 2005 6:53 pm
Location: earth

re: WM 2d Question

Post by sleepy »

ssmith,
I'm sure it's been posted before,but save an old guy trouble and tell me where I might find the actual program for wm2d.
Thanks in advance.
Trying to turn the spinning in my brain into something useful before moving on to the next life.
User avatar
Ed
Addict
Addict
Posts: 2049
Joined: Mon Jul 26, 2004 7:13 pm
Contact:

re: WM 2d Question

Post by Ed »

You can get the demo from http://www.workingmodel.com
sleepy
Aficionado
Aficionado
Posts: 509
Joined: Wed Feb 09, 2005 6:53 pm
Location: earth

re: WM 2d Question

Post by sleepy »

ssmith,
Thanks again for being so fast with your help.
Trying to turn the spinning in my brain into something useful before moving on to the next life.
Post Reply