Jump to content

Sign in to follow this  
Tesa Demiur

Camera path issues .

Recommended Posts

  • Topic Author
  • When I implemented your first Xpresso I didn’t have that seamless loop you told me about. The object was going back to its initial position instead of keeping moving along the spline once the cursor hits the last frame, no matter if it was the 90th or 200F. It wasn’t a continuous loop because I didn’t do it right probably. But your second code is really good, I love it. It does exactly what I need. I experimented a little with it and I took the camera and the cube out and had a pyramid on the circle. I wanted the tip of the pyramid to be on the circle facing the moving direction which it does, with the spline going through the middle of the pyramid. It’s looping seamlessly and I can adjust the speed which is really nice. However, at some point on the circle the pyramid flips having the base facing the direction and back with the tip after that.   Now the Up vector null doesn’t fix this problem. It might require some work in the Xpresso code. What do you think? File attached.

    Pyramid .c4d

    Share this post


    Link to post

    You need a rail. I usually just copy the main spline and drag it to one side. Sometimes it needs to be alongside, sometimes concentric - scaled up. Concentric would be for something like a helix.

     

    rail.c4d

     

    edit: re seamless -  align to spline only goes up to 100%. My bit of XP uses modulo to go

     

    98%, 99%, 0%, 1%, 2%

     

    ie goes past 100% seamlessly, without a jump.

    Share this post


    Link to post
  • Topic Author
  • That’s awesome. Much appreciated...

    Share this post


    Link to post

    Checkout how a rail tames this helix sweep - try with and without rail

     

    helixrail.c4d

    Share this post


    Link to post
  • Topic Author
  • I just got to it. Thank you.

    Share this post


    Link to post

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×
    ×
    • Create New...