#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
Have you tried using cubic bezier mode? This will ensure that the object passes through the control point.
|
#3
|
|||
|
|||
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], [-0.0523359562429438,0,3.99862953475457], [-0.156864419510597,0,4.99315143012285], [-0.313298884550828,0,5.98083977071799], [-0.521210575368588,0,6.95898737145179], [-0.780029620471108,0,7.92491319774086], [-1.08904661484606,0,8.87596971403601], [-1.44741456439136,0,9.80955014053321], [-1.85415120746716,0,10.7230955981758], [-2.30814170720670,0,11.6141021223642], [-2.80814170720670,0,12.4801275261486], [-3.3081417072067,0,13.3461529299331], [-3.8081417072067,0,14.2121783337175]] -m |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Animation Tracks.... | k_iwan | Vizard | 2 | 03-26-2007 05:52 PM |
Jumpy animation | Elizabeth S | Vizard | 1 | 11-08-2006 02:11 PM |