PLA, get a point's Vector in animation



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

    On 03/10/2012 at 00:37, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   13 
    Platform:   Windows  ;   
    Language(s) :     C++  ;  XPRESSO  ;

    ---------
    HI,

    Object has a PLA animation, and I want to get a point's Vector in specific frame without DrawViews(..).

    here is some example code.

    ObjectA has PLA.
    ObjectB has Dynamic.
         
    Current Frame is 0.
    for(i=0; i<90; i++)
    {
    doc->SetTime(BaseTime(i/FPS));

    (I don't know what to do here.)   - EventAdd, message doesn't effect. How do I have to do?

    getPoint(......);

    }

    The reason for don't calculate ObjectB's Dynamic while to get ObjectA's point's Vector in animation.

    I only want to get ObjectA's Vector of point without other calculation.

    do I have to do DrawViews(.....)?



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

    On 03/10/2012 at 01:13, xxxxxxxx wrote:

    Hi,

    See the code in this post that shows how to export an animation frame by frame: Export Animation



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

    On 03/10/2012 at 04:38, xxxxxxxx wrote:

    You can use AnimateObject() to specific time and read the values.

    Cheers
    Lennart



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

    On 03/10/2012 at 07:11, xxxxxxxx wrote:

    Thanks Lennart!


Log in to reply