Smooth transition from Linear to Bezier in animation
hello all,
I was wondering if there is a way to switch from Linear to Bezier translatemode in an animation path without it becoming jerky when the switch happens. I have a pretty simple path that starts off translating in a straight line (this is the part i need to have it linear), and then i need the path to start curving and then at the end it is a straight translation again. I've tried making the straight line control points linear, and the others bezier. I've also tried making a timer function to turn autorotate on and off while keeping all controlpoints bezier. Please let me know if there's a way to make a seamless combination of straight and curved animation paths. thanks in advance. -masaki |
Have you tried using cubic bezier mode? This will ensure that the object passes through the control point.
|
Hi farshizzo,
yes i've tried cubic bezier but it behaves very oddly when i use it. instead of following a smooth curve, it swings from left and right between each control point. Oh and by the way, the animation path is linked to the mainview - so any jerkyness is really apparent and i really need a seamless transition. if it would help, here are the control points for one of the paths: Code:
positions = [[0,0,0],[0,0,1],[0,0,2],[0,0,3], -m |
All times are GMT -7. The time now is 08:09 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC