Graphics

 View Only
  • 1.  animating objects using script based values

    Posted 03-20-2014 20:34
    my understanding is that xpKeyFrame is read only - so I can't change the values of a keyframe using a script.

    so looking for alternate ideas on how to animate an object in 3d space (position, rotation, scale) from a script with ease in/out

    thanks!


  • 2.  RE: animating objects using script based values

    Posted 03-20-2014 20:42
    xpKeyFrame is only for examining existing keyframes. You can create new keyframes in an animation controller using the xpAnimController.SetKeyFrameValue or SetKeyFrameValueTCB methods.

    This example was made for a different topic; but it does include a script that dynamically create keyframes from a script (but not using TCB splines):

    https://na11.springcm.com/atlas/Link/Document/12442/9dafe6f2-2704-e311-a16d-d89d67143433/1b14200f-70b0-e311-9b94-d89d67143430

    #XPression


  • 3.  RE: animating objects using script based values

    Posted 03-20-2014 21:48
    I think this is just what I needed - Thanks Brian!

    #XPression


  • 4.  RE: animating objects using script based values

    Posted 01-15-2016 15:56
    Hi Brian,

    Just wondering if you could re-upload that file? (The link is expired) I'm looking to do something similar. Thanks!
    #XPression


  • 5.  RE: animating objects using script based values

    Posted 01-17-2016 19:06