Jump to content

Rotate to certain orientation using VOP SOP or VEX


windwolfx23

Recommended Posts

Thank you 
 

attachicon.giforient.jpg
 
Use spherical linear interpolation, you will need to extract the transformations, you can use matrix3 to quaternion and do the slerp that way or simply build your own axis and angles in vops

Thank you mightcouldb1~ I watched the video, it's great  but my project got multi-solver involved, and I have to use a sop solver to do the rebuild , the function "slerp" sounds the right one to do the trick , but I havn't got it work, here is my vex codes:

if(@Frame>50)

{
    float time_form = fit(@Frame,50,200,0,1.0);
    @orient = slerp(@orient,@ini_orient,time_form);
}
I just want the @orient  value blend to @ini_orient value in 150 frames and start from frame 50.
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

×
×
  • Create New...