Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > General Questions & Help
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

General Questions & Help General & Advanced Orbiter flight questions, Orbiter installation questions, to all other help topics here.

Reply
 
Thread Tools
Old 05-17-2018, 01:55 AM   #1
hutchison66
Donator
Default Spacecraft 3 animation

Hi there, I'm having a Animation problem in problem in spacecraft 3
I'm opening a Hatch door in the Tranquillity Module opening it from new in the start position is ok but if I have the Door open and start the scenario the hatch is out of position it might be that there is a conflict with the robotics animations included in the .ini file I've got the same animation in other modules and don't seem to have this problem

here is the config file

Code:
 ;-----------------------------------
;        Animations
 ;    CBM petals
  
 [ROBOTIC_ARM]
JOINT_0_NAME="PORT"
JOINT_0_SEQ=0
JOINT_0_RANGE=(0,180)
JOINT_1_NAME="NADIR"
JOINT_1_SEQ=1
JOINT_1_RANGE=(0,180)
JOINT_2_NAME="STBD"
JOINT_2_SEQ=2
JOINT_2_RANGE=(0,180)
  
 [ANIM_SEQ_3]  
Key=k
DURATION=3
  
 [ANIM_SEQ_4]  
Key=1
DURATION=3
  
 [ANIM_SEQ_5]  
Key=2
DURATION=3
 ;----------------------------------------
;               Petal Animation
 
;----------------------------------------
;                Port petals
 [ANIM_SEQ_0] ;PORT CBM petals
INIT_POS=0
DURATION=10
PAUSE=1
  
 [ANIM_COMP_0] ; Port petal 1
SEQ=1
GROUPS=3
RANGE=(0,1)
ROT_PNT=(-2.13,0.67,2.50)
ROT_AXIS=(-0.100407,-0.703532,0.703535)
ANGLE=-180.
  
 [ANIM_COMP_1] ; Port petal 2
SEQ=0
GROUPS=2
RANGE=(0,1)
ROT_PNT=(-2.13,0.67,1.07)
ROT_AXIS=(-0.100407,-0.703533,-0.703534)
ANGLE=180.
  
 [ANIM_COMP_2] ; Port petal 3
SEQ=0
GROUPS=1
RANGE=(0,1)
ROT_PNT=(-2.13,-0.75,2.50)
ROT_AXIS=(-0.100407,0.703532,0.703535)
ANGLE=180.
  
 [ANIM_COMP_3] ; Port petal 4
SEQ=0
GROUPS=0
RANGE=(0,1)
ROT_PNT=(-2.13,-0.75,1.07)
ROT_AXIS=(-0.100407,0.703533,-0.703534)
ANGLE=-180.
  
 [ANIM_COMP_4]    ; Port cover scale
SEQ=0
GROUPS=4
RANGE=(0.9,1)
TYPE=SCALE
SCALE=(0.0001,0.0001,0.0001)
REF=(-2.12,-0.04,1.78)
 
;--------------------------------------
;             Nadir petals
 [ANIM_SEQ_1] ;NADIR CBM petals
INIT_POS=0
DURATION=10
PAUSE=1
  
 [ANIM_COMP_5] ; NADIR petal 1
SEQ=1
GROUPS=10
RANGE=(0,1)
ROT_PNT=(0.70,-2.16,1.07)
ROT_AXIS=(0.703533,0.100407,0.703534)
ANGLE=180.
  
 [ANIM_COMP_6] ; NADIR petal 2
SEQ=1
GROUPS=11
RANGE=(0,1)
ROT_PNT=(0.72,-2.16,2.50)
ROT_AXIS=(0.703532,0.100407,-0.703535)
ANGLE=-180.
  
 [ANIM_COMP_7] ; NADIR petal 3
SEQ=1
GROUPS=12
RANGE=(0,1)
ROT_PNT=(-0.72,-2.16,1.07)
ROT_AXIS=(-0.703533,0.100407,0.703534)
ANGLE=-180.
  
 [ANIM_COMP_8] ; NADIR petal 4
SEQ=1
GROUPS=13
RANGE=(0,1)
ROT_PNT=(-0.72,-2.16,2.50)
ROT_AXIS=(-0.703532,0.100407,-0.703535)
ANGLE=180.
  
 [ANIM_COMP_9]      ;NADIR cover scale
SEQ=1
GROUPS=14
RANGE=(0.9,1)
TYPE=SCALE
SCALE=(0.0001,0.0001,0.0001)
REF=(-0.01,-2.15,1.78)
 
;--------------------------------------
;             STBD petals
 [ANIM_SEQ_2] ;STBD CBM petals
INIT_POS=0
DURATION=10
PAUSE=1
  
 [ANIM_COMP_10] ; STBD petal 1
SEQ=2
GROUPS=15
RANGE=(0,1)
ROT_PNT=(2.11,0.67,1.07)
ROT_AXIS=(0.100407,-0.703533,-0.703534)
ANGLE=-180.
  
 [ANIM_COMP_11] ; STBD petal 2
SEQ=2
GROUPS=16
RANGE=(0,1)
ROT_PNT=(2.11,0.67,2.50)
ROT_AXIS=(0.100407,-0.703532,0.703535)
ANGLE=180.
  
 [ANIM_COMP_12] ; STBD petal 3
SEQ=2
GROUPS=17
RANGE=(0,1)
ROT_PNT=(2.11,-0.75,1.07)
ROT_AXIS=(0.100407,0.703533,-0.703534)
ANGLE=180.
  
 [ANIM_COMP_13] ; STBD petal 4
SEQ=2
GROUPS=18
RANGE=(0,1)
ROT_PNT=(2.11,-0.75,2.50)
ROT_AXIS=(0.100407,0.703532,0.703535)
ANGLE=-180.
  
 [ANIM_COMP_14]      ;STBD cover scale
SEQ=2
GROUPS=19
RANGE=(0.9,1)
TYPE=SCALE
SCALE=(0.0001,0.0001,0.0001)
 REF=(-2.10,-0.04,1.78)
 ;--------HATCH--------------------------
  
 [ANIM_COMP_15]  ;
;slide back
SEQ=3
GROUPS=26
RANGE=(0,0.5)
TYPE=TRANSLATE
SHIFT0=(0,0,0)
SHIFT=(0,0.06,0)
;PARENT=0
  
 [ANIM_COMP_16]
;rotate
SEQ=3
GROUPS=26
RANGE=(0,0.5)
ROT_PNT=(-0.379,-1.834,0)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=15.8
:PARENT=1
  
 [ANIM_COMP_17]  ;
;slide back
SEQ=3
GROUPS=26
RANGE=(0.5,0.8)
TYPE=TRANSLATE
SHIFT0=(0,0,0)
SHIFT=(0.3,0.07,0)
:PARENT=2
  
 [ANIM_COMP_18]
;rotate
SEQ=3
GROUPS=26
RANGE=(0.8,1)
ROT_PNT=(-0.079,-1.694,0)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=28.0
:PARENT=3
  
 [ANIM_COMP_19]  ;
;slide back
SEQ=3
GROUPS=26
RANGE=(0.8,0.95)
TYPE=TRANSLATE
SHIFT0=(0,0,0)
SHIFT=(0.9,0.07,0)
:PARENT=4
  
 [ANIM_COMP_20]
;rotate
SEQ=3
GROUPS=22
RANGE=(0.0,0.05)
ROT_PNT=(-0.0,-1.5,1.04)
TYPE=ROTATE
ROT_AXIS=(1,0,0)
ANGLE=-90.0
  
 [ANIM_COMP_21]
SEQ=3
GROUPS=22
RANGE(0.05,0.1)
TYPE=SCALE
SCALE=(0.001,0.001,0.001)
REF=(-0.0,-1.58602,0.033)
  
 [ANIM_COMP_22]  ;
;slide back
SEQ=4
GROUPS=35
RANGE=(0.0,0.7)
TYPE=TRANSLATE
SHIFT=(0.33,0,0)
  
 [ANIM_COMP_23]
;rotate
SEQ=4
GROUPS=35
RANGE=(0.0,0.7)
ROT_PNT=(-1.809,0.319,0.00)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=8.8
  
 [ANIM_COMP_24]  ;
;slide back
SEQ=4
GROUPS=35
RANGE=(0.7,0.97)
TYPE=TRANSLATE
SHIFT=(0.178,-1.27,0)
  
 [ANIM_COMP_25]
;rotate
SEQ=4
GROUPS=35
RANGE=(0.97,1.0)
ROT_PNT=(-1.409,-1.001,0.00)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=30.8
  
 [ANIM_COMP_26]
;rotate
SEQ=4
GROUPS=21
RANGE=(0.0,0.05)
ROT_PNT=(-1.3,0,1.04)
TYPE=ROTATE
ROT_AXIS=(0,1,0)
ANGLE=90.0
  
 [ANIM_COMP_27]
SEQ=4
GROUPS=21
RANGE(0.05,0.1)
TYPE=SCALE
SCALE=(0.001,0.001,0.001)
REF=(-0.0,-1.58602,0.033)
  
 [ANIM_COMP_28]  ;
;slide back
SEQ=5
GROUPS=25
RANGE=(0.0,0.7)
TYPE=TRANSLATE
SHIFT=(-0.33,0,0)
  
 [ANIM_COMP_29]
;rotate
SEQ=5
GROUPS=25
RANGE=(0.0,0.7)
ROT_PNT=(1.809,0.319,0.00)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=8.8
  
 [ANIM_COMP_30]  ;
;slide back
SEQ=5
GROUPS=25
RANGE=(0.7,0.97)
TYPE=TRANSLATE
SHIFT=(-0.278,1.27,0)
  
 [ANIM_COMP_31]
;rotate
SEQ=5
GROUPS=25
RANGE=(0.97,1.0)
ROT_PNT=(1.409,1.001,0.00)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=30.8
  
 [ANIM_COMP_32]
;rotate
SEQ=5
GROUPS=20
RANGE=(0.0,0.05)
ROT_PNT=(1.3,0,1.04)
TYPE=ROTATE
ROT_AXIS=(0,1,0)
ANGLE=-90.0
  
 [ANIM_COMP_33]
SEQ=5
GROUPS=20
RANGE(0.05,0.1)
TYPE=SCALE
SCALE=(0.001,0.001,0.001)
REF=(-0.0,-1.58602,0.033)
maybe it would be easier to animate it from the open position or have I done something wrong
David

Last edited by IronRain; 05-17-2018 at 08:53 AM. Reason: Wrapped the code in a code block
hutchison66 is offline   Reply With Quote
Old 05-17-2018, 08:54 AM   #2
IronRain
Moderator
 
IronRain's Avatar


Default

I've edited your post and added a code block

I'm not familiar with Spacecraft3/4 and animation, but what if you remove the part of the animation that you think causes this and only keep the part that's responsible for opening the hatch?
IronRain is online now   Reply With Quote
Old 05-17-2018, 09:39 AM   #3
Trekkie
Starfleet Head of Ship Design
 
Trekkie's Avatar

Default

Quote:
Originally Posted by hutchison66 View Post
 Hi there, I'm having a Animation problem in problem in spacecraft 3
I'm opening a Hatch door in the Tranquillity Module opening it from new in the start position is ok but if I have the Door open and start the scenario the hatch is out of position it might be that there is a conflict with the robotics animations included in the .ini file I've got the same animation in other modules and don't seem to have this problem

here is the config file

Code:
 ;-----------------------------------
;        Animations
 ;    CBM petals
  
 [ROBOTIC_ARM]
JOINT_0_NAME="PORT"
JOINT_0_SEQ=0
JOINT_0_RANGE=(0,180)
JOINT_1_NAME="NADIR"
JOINT_1_SEQ=1
JOINT_1_RANGE=(0,180)
JOINT_2_NAME="STBD"
JOINT_2_SEQ=2
JOINT_2_RANGE=(0,180)
  
 [ANIM_SEQ_3]  
Key=k
DURATION=3
  
 [ANIM_SEQ_4]  
Key=1
DURATION=3
  
 [ANIM_SEQ_5]  
Key=2
DURATION=3
 ;----------------------------------------
;               Petal Animation
 
;----------------------------------------
;                Port petals
 [ANIM_SEQ_0] ;PORT CBM petals
INIT_POS=0
DURATION=10
PAUSE=1
  
 [ANIM_COMP_0] ; Port petal 1
SEQ=1
GROUPS=3
RANGE=(0,1)
ROT_PNT=(-2.13,0.67,2.50)
ROT_AXIS=(-0.100407,-0.703532,0.703535)
ANGLE=-180.
  
 [ANIM_COMP_1] ; Port petal 2
SEQ=0
GROUPS=2
RANGE=(0,1)
ROT_PNT=(-2.13,0.67,1.07)
ROT_AXIS=(-0.100407,-0.703533,-0.703534)
ANGLE=180.
  
 [ANIM_COMP_2] ; Port petal 3
SEQ=0
GROUPS=1
RANGE=(0,1)
ROT_PNT=(-2.13,-0.75,2.50)
ROT_AXIS=(-0.100407,0.703532,0.703535)
ANGLE=180.
  
 [ANIM_COMP_3] ; Port petal 4
SEQ=0
GROUPS=0
RANGE=(0,1)
ROT_PNT=(-2.13,-0.75,1.07)
ROT_AXIS=(-0.100407,0.703533,-0.703534)
ANGLE=-180.
  
 [ANIM_COMP_4]    ; Port cover scale
SEQ=0
GROUPS=4
RANGE=(0.9,1)
TYPE=SCALE
SCALE=(0.0001,0.0001,0.0001)
REF=(-2.12,-0.04,1.78)
 
;--------------------------------------
;             Nadir petals
 [ANIM_SEQ_1] ;NADIR CBM petals
INIT_POS=0
DURATION=10
PAUSE=1
  
 [ANIM_COMP_5] ; NADIR petal 1
SEQ=1
GROUPS=10
RANGE=(0,1)
ROT_PNT=(0.70,-2.16,1.07)
ROT_AXIS=(0.703533,0.100407,0.703534)
ANGLE=180.
  
 [ANIM_COMP_6] ; NADIR petal 2
SEQ=1
GROUPS=11
RANGE=(0,1)
ROT_PNT=(0.72,-2.16,2.50)
ROT_AXIS=(0.703532,0.100407,-0.703535)
ANGLE=-180.
  
 [ANIM_COMP_7] ; NADIR petal 3
SEQ=1
GROUPS=12
RANGE=(0,1)
ROT_PNT=(-0.72,-2.16,1.07)
ROT_AXIS=(-0.703533,0.100407,0.703534)
ANGLE=-180.
  
 [ANIM_COMP_8] ; NADIR petal 4
SEQ=1
GROUPS=13
RANGE=(0,1)
ROT_PNT=(-0.72,-2.16,2.50)
ROT_AXIS=(-0.703532,0.100407,-0.703535)
ANGLE=180.
  
 [ANIM_COMP_9]      ;NADIR cover scale
SEQ=1
GROUPS=14
RANGE=(0.9,1)
TYPE=SCALE
SCALE=(0.0001,0.0001,0.0001)
REF=(-0.01,-2.15,1.78)
 
;--------------------------------------
;             STBD petals
 [ANIM_SEQ_2] ;STBD CBM petals
INIT_POS=0
DURATION=10
PAUSE=1
  
 [ANIM_COMP_10] ; STBD petal 1
SEQ=2
GROUPS=15
RANGE=(0,1)
ROT_PNT=(2.11,0.67,1.07)
ROT_AXIS=(0.100407,-0.703533,-0.703534)
ANGLE=-180.
  
 [ANIM_COMP_11] ; STBD petal 2
SEQ=2
GROUPS=16
RANGE=(0,1)
ROT_PNT=(2.11,0.67,2.50)
ROT_AXIS=(0.100407,-0.703532,0.703535)
ANGLE=180.
  
 [ANIM_COMP_12] ; STBD petal 3
SEQ=2
GROUPS=17
RANGE=(0,1)
ROT_PNT=(2.11,-0.75,1.07)
ROT_AXIS=(0.100407,0.703533,-0.703534)
ANGLE=180.
  
 [ANIM_COMP_13] ; STBD petal 4
SEQ=2
GROUPS=18
RANGE=(0,1)
ROT_PNT=(2.11,-0.75,2.50)
ROT_AXIS=(0.100407,0.703532,0.703535)
ANGLE=-180.
  
 [ANIM_COMP_14]      ;STBD cover scale
SEQ=2
GROUPS=19
RANGE=(0.9,1)
TYPE=SCALE
SCALE=(0.0001,0.0001,0.0001)
 REF=(-2.10,-0.04,1.78)
 ;--------HATCH--------------------------
  
 [ANIM_COMP_15]  ;
;slide back
SEQ=3
GROUPS=26
RANGE=(0,0.5)
TYPE=TRANSLATE
SHIFT0=(0,0,0)
SHIFT=(0,0.06,0)
;PARENT=0
  
 [ANIM_COMP_16]
;rotate
SEQ=3
GROUPS=26
RANGE=(0,0.5)
ROT_PNT=(-0.379,-1.834,0)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=15.8
:PARENT=1
  
 [ANIM_COMP_17]  ;
;slide back
SEQ=3
GROUPS=26
RANGE=(0.5,0.8)
TYPE=TRANSLATE
SHIFT0=(0,0,0)
SHIFT=(0.3,0.07,0)
:PARENT=2
  
 [ANIM_COMP_18]
;rotate
SEQ=3
GROUPS=26
RANGE=(0.8,1)
ROT_PNT=(-0.079,-1.694,0)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=28.0
:PARENT=3
  
 [ANIM_COMP_19]  ;
;slide back
SEQ=3
GROUPS=26
RANGE=(0.8,0.95)
TYPE=TRANSLATE
SHIFT0=(0,0,0)
SHIFT=(0.9,0.07,0)
:PARENT=4
  
 [ANIM_COMP_20]
;rotate
SEQ=3
GROUPS=22
RANGE=(0.0,0.05)
ROT_PNT=(-0.0,-1.5,1.04)
TYPE=ROTATE
ROT_AXIS=(1,0,0)
ANGLE=-90.0
  
 [ANIM_COMP_21]
SEQ=3
GROUPS=22
RANGE(0.05,0.1)
TYPE=SCALE
SCALE=(0.001,0.001,0.001)
REF=(-0.0,-1.58602,0.033)
  
 [ANIM_COMP_22]  ;
;slide back
SEQ=4
GROUPS=35
RANGE=(0.0,0.7)
TYPE=TRANSLATE
SHIFT=(0.33,0,0)
  
 [ANIM_COMP_23]
;rotate
SEQ=4
GROUPS=35
RANGE=(0.0,0.7)
ROT_PNT=(-1.809,0.319,0.00)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=8.8
  
 [ANIM_COMP_24]  ;
;slide back
SEQ=4
GROUPS=35
RANGE=(0.7,0.97)
TYPE=TRANSLATE
SHIFT=(0.178,-1.27,0)
  
 [ANIM_COMP_25]
;rotate
SEQ=4
GROUPS=35
RANGE=(0.97,1.0)
ROT_PNT=(-1.409,-1.001,0.00)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=30.8
  
 [ANIM_COMP_26]
;rotate
SEQ=4
GROUPS=21
RANGE=(0.0,0.05)
ROT_PNT=(-1.3,0,1.04)
TYPE=ROTATE
ROT_AXIS=(0,1,0)
ANGLE=90.0
  
 [ANIM_COMP_27]
SEQ=4
GROUPS=21
RANGE(0.05,0.1)
TYPE=SCALE
SCALE=(0.001,0.001,0.001)
REF=(-0.0,-1.58602,0.033)
  
 [ANIM_COMP_28]  ;
;slide back
SEQ=5
GROUPS=25
RANGE=(0.0,0.7)
TYPE=TRANSLATE
SHIFT=(-0.33,0,0)
  
 [ANIM_COMP_29]
;rotate
SEQ=5
GROUPS=25
RANGE=(0.0,0.7)
ROT_PNT=(1.809,0.319,0.00)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=8.8
  
 [ANIM_COMP_30]  ;
;slide back
SEQ=5
GROUPS=25
RANGE=(0.7,0.97)
TYPE=TRANSLATE
SHIFT=(-0.278,1.27,0)
  
 [ANIM_COMP_31]
;rotate
SEQ=5
GROUPS=25
RANGE=(0.97,1.0)
ROT_PNT=(1.409,1.001,0.00)
TYPE=ROTATE
ROT_AXIS=(0,0,1)
ANGLE=30.8
  
 [ANIM_COMP_32]
;rotate
SEQ=5
GROUPS=20
RANGE=(0.0,0.05)
ROT_PNT=(1.3,0,1.04)
TYPE=ROTATE
ROT_AXIS=(0,1,0)
ANGLE=-90.0
  
 [ANIM_COMP_33]
SEQ=5
GROUPS=20
RANGE(0.05,0.1)
TYPE=SCALE
SCALE=(0.001,0.001,0.001)
REF=(-0.0,-1.58602,0.033)
maybe it would be easier to animate it from the open position or have I done something wrong
David
there are multiple Animations for the Hatch could you explain what which animation does?

---------- Post added at 09:39 AM ---------- Previous post was at 09:35 AM ----------

oh wait i see the lines where it says whay it does


[ANIM_COMP_15] ;
;slide back
SEQ=3
GROUPS=26
RANGE=(0,0.5)
TYPE=TRANSLATE
SHIFT0=(0,0,0)
SHIFT=(0,0.06,0)
;PARENT=0

the : in front of the Parent in your last line is ; instead of : try correcting that, i can remember spacecraft Animation be tricky with faulty lines
Trekkie is offline   Reply With Quote
Thanked by:
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > General Questions & Help


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 06:27 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.