![]() |
|
#4
|
|||
|
|||
|
If you have some t, going linearly from 0.0 to 1.0, first transform it before passing it to setPosition or whatever move function.
Example for slow in, slow out: new_t = (1.0 - math.cos(math.pi * t)) * 0.5 bonus for fast in, slow out: new_t = math.sin(((1.0 - t) ** 2 + 1) * math.pi / 2.0) ** 2 these new_t values will lie between 0.0 and 1.0 as well. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Moving objects together | imperialkat | Vizard | 2 | 02-17-2010 12:43 PM |
| Semi-circle array containing target and distractor objects | ptjt255 | Vizard | 3 | 08-04-2009 03:09 AM |
| Lightwave objects rotation problem | hosier | Vizard | 6 | 02-13-2009 12:04 PM |
| Moving multiple objects with ppt | durf | Vizard | 1 | 02-10-2009 03:03 PM |
| Could not find plugin to load objects... | halley | Vizard | 1 | 05-30-2006 11:01 AM |