Jump to content

Sign in to follow this  
EnriqueShockwave

Align to Spline popping problem

Recommended Posts

Posted (edited)

Hey there C4D friends, 

 

Im currently making a looping snake animation - the movement is driven by 2 formula deformers and I have the head attached to the body with an align to spline tag. When I press play on the animation, the first frame pops/snaps into place which is really messing up my loop. If I press play in cinema and have it run through the whole animation, by the time it gets back to frame 0 the loop is perfect, however, the problem is when i stop the animation, put the playhead back to zero and then press play again.

 

Ive narrowed down the issue to the formula effectors themselves as when I turn them off, the snapping goes away.

The formula I have for the X motion (side to side) is: sin(((id / count) + t/6) * f * 720)

The formula I have for the y motion (up and down) is: sin(((id / count) + t/3) * f *360)

I just dont know how to modify them so I can retain the motion they drive while removing that initial pop. Any and all help here to remove that beginning pop would be so appreciated!

 

Ive attached an mp4 of whats going on because I cant get my file down to 2.98MB (any help here would be appreciated too as I know sharing a file is the most helpful way to solve these problems)

 

Thanks so much in advance! 

Cheers

Edited by Cerbera
Moved to correct section

Share this post


Link to post

PS: Whats more is that when I initially open the file, the head is not on the body (see attached). Pressing play causes it to snap into place - like I have to initialize the align to spline for some reason. 

Screen Shot 2020-03-28 at 12.34.36 PM.png

Share this post


Link to post
1 hour ago, EnriqueShockwave said:

Ive attached an mp4 of whats going on because I cant get my file down to 2.98MB (any help here would be appreciated too as I know sharing a file is the most helpful way to solve these problems)

Just upload to dropbox or similar and post the link here - bingo no size restriction !

 

This sounds like it could be a hierarchy order problem but would need file to confirm that. Feel free to strip out all the unnecessary other objects and materials before you upload it !

 

CBR

Share this post


Link to post

No, probably not me - my specialism is more on the modelling side - I'm quite weak with effectors and priority problems as it goes, but have become used to seeing the type of problems that these issues cause, which is why I can speculate here. But I can't solve it so far, so looks like we're waiting for the people who can 🙂 But at least those guys will have everything they need to find the answer, so that's a good thing...

 

CBR

Share this post


Link to post

File opens up a bit weird in my R18, but does loop ok. Im not too up on the technical aspects of how cinema calculates stuff, but is it possible that when it goes back to frame zero the tracer spline doesn't actually exist at that point so your head can't align to it ??

 

Just a thought

 

Deck

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