Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
Do so that the hyper view may end, too, if animation ends?|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
create an animation of the hyperview time period, then make the animation a peer to the other animation, with a parent animation as the triggering anim.
hth DavidR |
|||
|
|
EnIgMaTiCScOrPioN Member |
Hi Hiroko !!
Adding an ActionAnimator will work. Check the following code. The animation has an ActionAnimator added. <MTSScene Version="311" > <MTSSceneParms RenderMode="LightTexture" BlendShadow="1" EdgeBias="1" > <Transform> <Scale x="0.02256" y="0.02256" z="0.02256" /> <Position x="0" y="-0.97233" z="-0.2465" /> </Transform> </MTSSceneParms> <MTSCamera OrbitDist="4" > <Rotate x="30.9397" y="43.54482" z="0" /> <ViewLocation x="0" y="0" z="4" /> </MTSCamera> <MTSBaseComponent Hyperview="1" CoordinateSystem="2" RestrictMacHyperView="0" Rect="0 0 0 0"/> <MTSAction Name="start_hyperview" > <MTSAssignProperty Target="MTSBaseComponent::smod" Value="1" /> </MTSAction> <MTSInteractor Name="return_from_hyperview" > <MTSHandle Event="MouseLeftDown" Action="MTSAssignProperty" Target="MTSBaseComponent::smod" Value="0" /> </MTSInteractor> <MTSInteractor Name="LoadingDoneInteractor"> <MTSHandle Event="MTXLoad:done" Action="EnableHyperView"/> </MTSInteractor> <MTSInstance Name="motion_02" > <Transform> <Scale x="-1" y="-1" z="-1" /> <Shear xy="-0" yz="-0" xz="-0" /> <Rotate x="90.00002" y="180" z="-0.00002" /> </Transform> <MTSInstance Name="a160_" > <MTSGeometry Name="a160__GEOM" MultiUV="0" BackFaceDir="-1" /> </MTSInstance> </MTSInstance> <MTSInteractor Name="user_clicked_out"> <MTSHandle Event="MTSEventModalEnd" Action="MTSAssignProperty" Target="MTSInstance.mae_ANIM::visb" Value="0" /> </MTSInteractor> <MTSTimeElem Type="Keyframe" Name="mae_ANIM" On="1" > <Target Name="MTSInstance.a160_" Property="loc_" Timeline="maea160__Tran_0" /> <Time> 0 0.33333 0.5 0.66667 0.83333 1 1.16667 1.33333 1.5 1.66667 1.83333 2 </Time> <Timeline Name="maea160__Tran_0" Type="3D" > S[0 0 0] S[0 -10.9625 0] S[0 -23.124 0] S[0 -38.3687 0] S[0 -55.6688 0] S[0 -73.9967 0] S[0 -92.3246 0] S[0 -109.6248 0] S[0 -124.8695 0] S[0 -137.03101 0] S[0 -145.0816 0] S[0 -147.9935 0] </Timeline> <MTSTimeElem Type="ActionAnimator" > <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSNoop/> <MTSAssignProperty Target="MTSBaseComponent::smod" Value="0" /> </MTSTimeElem> </MTSTimeElem> <MTSTimeElem Type="MTSStream" Name="jack_mov" Path="jack_mov.mts" > <Target Name="MTSInstance.motion_02" /> </MTSTimeElem> </MTSScene> Cheers, Anup |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
Viewpoint XML Schema
Do so that the hyper view may end, too, if animation ends?
