THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/06/2008 at 15:37, xxxxxxxx wrote:
Cinema 4D Version: 10.5
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
I want a script that will cause a wheel, child of a null, to rotate in the direction of the null's + or - z direction without resorting to a spline. The circumference and the length of one degree of rotation/travel are known.
On 07/06/2008 at 21:48, xxxxxxxx wrote:
You have to convert linear motion into angular rotation. If you know the linear motion distance, you have to determine the linear arc over the circumference that matches it. Then you need to find the angle this linear arc (arc length) represents - which can be using the circumference in a ratio (al/c is the percentage of 360d).
In other words, the linear distance equals the distance along the circumference (disregarding slip and so forth). This is exactly how Measuring Wheels do their magic.