how to add target camera and working



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

    On 31/07/2007 at 23:02, xxxxxxxx wrote:

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

    ---------
    I adding a static camera befor,but user would like  target camera to do it, as far as long I have no way to implement,  anyone can help me? thanks in advance!



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

    On 01/08/2007 at 03:36, xxxxxxxx wrote:

    Create a target tag on the camera and assign the target object to the link field in the target tag. What´s the problem?

    clear Pseudocode:

    BaseTag* target = cam->MakeTag(Ttargetexpression); if(!target) return;
    target->GetDataInstance()->SetLink(TARGETTAG_LINKID,targetobj_pointer);

    Something like this. Think logical! ;)


Log in to reply