camera target

  • On 16/09/2013 at 08:56, xxxxxxxx wrote:

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

    hi there!

    i want the object where my camera target is looking at...

    i got to "BaseTag* targetTag = o->GetTag(Ttargetexpression)" and then i'm lost,
    links, containers, parameters...

  • On 16/09/2013 at 10:14, xxxxxxxx wrote:

    ok, did it this way...

    BaseContainer *bc = targetTag->GetDataInstance();
    BaseObject* bo = bc->GetObjectLink(TARGETEXPRESSIONTAG_LINK, m_pDoc);

Log in to reply