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
    • Login

    SplineHelp and scaling

    Scheduled Pinned Locked Moved PYTHON Development
    1 Posts 0 Posters 160 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 03/01/2014 at 22:33, xxxxxxxx wrote:

      Greetings to all!

      I'm kinda new to plugin development here, so please bear with me. I'm trying to use the SplineHelp in a Python tag to attach some objects to a spline. This seems to work well when I configure SplineHelp to use global positioning (which is the default). I can get the matrix of a position on the spline and everything seems to work well.

      However, if I drop that entire rig into something like a null object (or XRef it in another scene) and scale things, then the scale and rotation of the object attached to the spline go totally haywire on me. It's not the same effect as if I were to disable the python tag and scale the parent object, which is what I'm trying to achieve.

      Is there any way to do this with SplineHelp? I kinda need it set to global mode (or some way of replicating that functionality when it's running in local mode instead), but yet I need to be able to scale it properly when the objects it manipulates (both the target spline and object that I'm attaching to it) are parented to another object (which is then scaled).

      Cheers,
      -SC

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