GetCurrentState & animation



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/01/2007 at 01:51, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   10 
    Platform:   Windows  ;   
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hey folks,

    i wonder why does the
         bc ->SetData(MDATA_CURRENTSTATETOOBJECT_KEEPANIMATION, FALSE);
         SendModelingCommand(MCOMMAND_CURRENTSTATETOOBJECT, doc, obj, bc, MODIFY_ALL);
    make a current state and retains the animation, or i dont understand what keep animation means or its a bug...
    doesnt it supose to make a current state and delete the current tracks and keys?

    well if i understood the keep animation part, what way do you easily delete the animation track of an object in r10? even trying to overwrite it from a dummy object is not possible since BaseTrack is ignored... hm

    tnx for any info.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/01/2007 at 09:06, xxxxxxxx wrote:

    Another person succumbs to the confusion. :)

    In R10, BaseTrack/BaseSequence/BaseKey are no longer valid (deprecated). Go to the Resource/_api folder and check out canimation.h. Use the CTrack/CCurve/CKey classes instead.

    There are also new methods to go along with these, such as FindCTrack() and InsertTrackSorted().



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/01/2007 at 10:37, xxxxxxxx wrote:

    @Robert, Angelus uses COFFEE.

    Unfortunatly COFFEE hasn't been updated for all the timline changes in R10. The MAXON developers are aware of it, so chances are that updates will be made for one of the next Cinema updates.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/01/2007 at 10:41, xxxxxxxx wrote:

    @Matthias, ah, more coffee (literally). :)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/01/2007 at 11:24, xxxxxxxx wrote:

    hm tnx but still dont know now whats about this keep animation, is it suppose to delete the traks and stuff? or this just didnt get updated...



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 08/01/2007 at 08:33, xxxxxxxx wrote:

    MDATA_CURRENTSTATETOOBJECT_KEEPANIMATION, FALSE

    Ok, this seems like a bug as it is working fine in pre R10. I will report this to the developers. At the moment I can't think of any way to get rid of the tracks with COFFEE.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 08/01/2007 at 10:11, xxxxxxxx wrote:

    ok tnx for clarifying this, ill wait then for the update :)

    cheers


Log in to reply