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?
WM 2d Question
Moderator: scott
-
- Enthusiast
- Posts: 91
- Joined: Sun Dec 14, 2003 7:45 am
- Location: Vancouver, BC
re: WM 2d Question
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.
-
- Enthusiast
- Posts: 91
- Joined: Sun Dec 14, 2003 7:45 am
- Location: Vancouver, BC
re: WM 2d Question
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.
Oh could you describe the button / formula feature because I need the unlock/lock to happen throughout the timeline.
Thanks again.
re: WM 2d Question
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!
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!
-
- Enthusiast
- Posts: 91
- Joined: Sun Dec 14, 2003 7:45 am
- Location: Vancouver, BC
re: WM 2d Question
Thanks again for the help!
re: WM 2d Question
No problem, any time.
re: WM 2d Question
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.
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.
re: WM 2d Question
You can get the demo from http://www.workingmodel.com
re: WM 2d Question
ssmith,
Thanks again for being so fast with your help.
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.