Graphics

 View Only
  • 1.  Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 14:45
    Hi
    How do you add an animation controller created by the scene object (scene.createanimcontroller) to a scenedirector, or track object in that scene? I can't see an add method anywhere that allows you to do it.

    Thanks
    Simon


  • 2.  RE: Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 14:50
    xpSceneDirectorTrack.CreateAnimClip

    #XPression


  • 3.  RE: Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 15:00
    Thanks Brian.
    That method doesn't appear in the documentation though!

    Simon

    #XPression


  • 4.  RE: Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 15:01

    Sure it does, see picture below.


    #XPression


  • 5.  RE: Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 15:03

    Hmmm!!


    #XPression


  • 6.  RE: Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 15:15
    Sorry, it's only in 7.1 and above:
    version 7.1 build 3869 (July 17th 2017)
    � [implemented] xpSceneDirectorTrack.CreateAnimClip to create an animation clip on the track

    #XPression


  • 7.  RE: Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 15:16
    Ah, I've an issue anyway then as this has to run on V6.0!
    Can you think of any work arounds?

    #XPression


  • 8.  RE: Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 15:45
    I use this forum as a barometer of my knowledge. I have no idea what the application might be for this. Simonl can you fill me in if you have the time?

    #XPression


  • 9.  RE: Adding a programmatically created animation controller to a scene director

    Posted 04-19-2018 15:54
    Hi @malthepal
    I'm processing incoming data to generate animations, and I don't know how many animations there might end up being. I can take a good guess and make a load of animation controllers on the timeline to cater for the worst case scenario, but it would have been better to dynamically create things as needed.
    #XPression