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
    • Recent
    • Tags
    • Users
    • Admin
    • Login

    get matrix from dynamics in cloner

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 284 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 06/05/2016 at 08:17, xxxxxxxx wrote:

      if i grab the matrix via MODATA_MATRIX i only get the start position of my dynamic object , not the current one.

      my only solution so far was to bake it via alembic. but it is a little bit unhandy.

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

        On 09/05/2016 at 01:23, xxxxxxxx wrote:

        Hello,

        the dynamics simulation is applied to the virtual clones that are created by a MoGraph cloner. Or to put it differently: dynamics happens after MoGraph, it is not part of MoGraph. So MoGraph does not know anything about dynamics and how it might influence any clone.

        If you want to get the current position of a virtual object you might have to acess the cache of the generator using GetCache(), but that copletly depends on what you actually want to do.

        Best wishes,
        Sebastian

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