- Joined
- Feb 10, 2008
- Messages
- 1,078
- Reaction score
- 17
- Points
- 0
- Location
- Montesano
- Website
- soundcloud.com
I'm trying to animate some legs for a lunar landing craft, and am having trouble figuring out the right approach here. After spending most of my Sunday puzzling over my animations, I thought it's probably time to see if anyone can point me in the right direction.
I'm using Spacecraft 3 for this, and am basically doing a series of rotations and translations with 2 primary structures and a total of 8 mesh groups. Doing the animations in a linear series is fairly straight forward, but I really need several of the rotations and translations to happen simultaneously. In the attached group of pics, what I'm really seeking is having the T-bar on the end of the upper leg's assembly stay connected with the foot plate.
Here's the animation code as it currently stands:
I'm basically wondering it the right way to go about this is to take each of the meshes, and position them where I want them to be to get the vectors. In other words, do I calculate where the upper arm will be when it rotates rather than where it was at the beginning of the sequence?
And is there anyway of keeping the T-bar and upper assembly in contact with the lower segment throughout the sequence?
I'm using Spacecraft 3 for this, and am basically doing a series of rotations and translations with 2 primary structures and a total of 8 mesh groups. Doing the animations in a linear series is fairly straight forward, but I really need several of the rotations and translations to happen simultaneously. In the attached group of pics, what I'm really seeking is having the T-bar on the end of the upper leg's assembly stay connected with the foot plate.
Here's the animation code as it currently stands:
Code:
[ANIM_SEQ_0]
; Landing gear upanddown
KEY=G
DURATION=6
[ANIM_COMP_0]
SEQ=0
TYPE=ROTATE
GROUPS=1,2,7,9
RANGE=(0.0,0.2)
ROT_PNT=(-0.2261176,2.336487,0.2280593)
ROT_AXIS=(0.708135245911708,0.0,0.706076818411116)
ANGLE=45
[ANIM_COMP_1]
SEQ=0
TYPE=ROTATE
GROUPS=3,4,5,6,8
RANGE=(0.0,0.2)
ROT_PNT=(-0.1066215,2.841195,9.723303E-02)
ROT_AXIS=(0.706082757732833,0.0,0.708129323804909)
ANGLE=45
[ANIM_COMP_2]
SEQ=0
TYPE=TRANSLATE
GROUPS=5
RANGE=(0.2,0.4)
SHIFT=(-0.65,-0.05,0.65)
[ANIM_COMP_3]
SEQ=0
TYPE=TRANSLATE
GROUPS=1,2,7,9
RANGE=(0.4,0.8)
SHIFT=(0.2094961,0.257707,-0.26082625)
PARENT=0
[ANIM_COMP_4]
SEQ=0
TYPE=TRANSLATE
GROUPS=3,4,5,6,8
RANGE=(0.4,0.8)
SHIFT=(0.7,0.748847,-0.7)
PARENT=1
[ANIM_COMP_5]
SEQ=0
TYPE=ROTATE
GROUPS=4,5
RANGE=(0.8,0.9)
ROT_PNT=(-0.2214981,2.56657,0.2198978)
ROT_AXIS=(0.702073307332462,0.0,0.712104677088459)
ANGLE=47
[ANIM_COMP_6]
SEQ=0
TYPE=TRANSLATE
GROUPS=4,5
RANGE=(0.8,0.9)
SHIFT=(0.26,1.1,-0.26)
[ANIM_COMP_7]
SEQ=0
TYPE=TRANSLATE
GROUPS=3
RANGE=(0.8,0.9)
SHIFT=(-0.65,0.0,0.65)
[ANIM_COMP_8]
SEQ=0
TYPE=ROTATE
GROUPS=1,2,7,9
RANGE=(0.8,0.9)
ROT_PNT=(-0.1066215,2.841195,9.723303E-02)
ROT_AXIS=(0.706082757732833,0.0,0.708129323804909)
ANGLE=35
[ANIM_COMP_9]
SEQ=0
TYPE=ROTATE
GROUPS=3,4,5,6,8
RANGE=(0.9,1.0)
ROT_PNT=(-5.451512E-02,3.503583,6.438237E-02)
ROT_AXIS=(0.676655448439267,0.0,0.736299805851838)
ANGLE=13
[ANIM_COMP_10]
SEQ=0
TYPE=ROTATE
GROUPS=1
RANGE=(0.9,1.0)
ROT_PNT=(-2.166257,-1.066035,2.158304)
ROT_AXIS=(0.711327992411393,0.0,0.702860218828735)
ANGLE=-15
And is there anyway of keeping the T-bar and upper assembly in contact with the lower segment throughout the sequence?