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

    Python Generator + Phong Tag

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 374 Views
    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 Offline
      Helper
      last edited by

      On 21/11/2017 at 11:07, xxxxxxxx wrote:

      Originally posted by xxxxxxxx

      On a related note I also noticed that this "Python Generator" object is completely ignorant of any kind of dynamics, e.g. adding a "Rigid Body" tag to it does nothing in regards to collision handling (the object is still affected by gravity though).

      OK, I found out that some  "polyobj.Message(c4d.MSG_UPDATE)" is required, took me ages to find out. Just did by pure luck while trying to solve a problem where the "Python Generator" object would entirely disappear when the axis was moved out of the viewport (I hadn't noticed this effect before.)

      Sometimes I'm just stumbling in the dark (even after studying the documentation for ages) and have to do wild trial and error to get to where I want. 🙂

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

        On 22/11/2017 at 10:11, xxxxxxxx wrote:

        I'm glad you found a solution.
        And I'd like to apologize, because I have to admit your follow up question somehow fell from my plate.
        In such cases it may help to open a new topic for follow up questions. And of course you are also allowed to bump a thread, if you get the feeling it's been forgotten.

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