Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    camera target

    SDK Help
    0
    2
    212
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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...

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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);

        1 Reply Last reply Reply Quote 0
        • First post
          Last post