Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  JavaScript    Change MTX-animation data in RealTime

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
4-star Rating (1 Vote) Rate It!  Login/Join 
xai
Member
Posted
Hello,
is it possible to edit my animations in realtime, which are implemented in the mtx-file?

In my mtx-file I have built keyframe-animations, which are changing the orbitDistance, so that the orbdist changes from 0 to 7 in a smooth keyframe animation.
For Example:
Animation 1: 3 ---> 7
Animation 2: 7 ---> 4
Animation 3: 4 ---> 6
-->The Animations always starts with the last orbDist-value!


But when a user change the orbDist between the animations it looks like that:
Animation 1: 3 ---> 7
The user changed the OrbDist from 7 ---> 1
So now I have a jumping orbdist from 1 to 7, before it is going smooth to 4. The last orbDist is 1 and not 7 Frown
Animation 2: 7 ---> 4
Animation 3: 4 ---> 6

So, it is possible to set the realtime orbdist as startvalue, to get an always smooth animation?

You all know what I mean? If not ask! My try to explain my problem again.

Thx,
xai
 
Posts: 20 | Registered: October 01, 2006Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
Hi,

Make the first key of all your animations as wildcard (*). Wildcard takes the current value.
Hope this helps.

Cheers,

Anup
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
xai
Member
Posted Hide Post
Ahh, thanks.
I have seen the * before in other forum posts. Now I know what it do Wink
My animations are looking nice now!
 
Posts: 20 | Registered: October 01, 2006Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  JavaScript    Change MTX-animation data in RealTime