|
![](/i/fill.gif) |
"Rohan Bernett" wrote
>
> How do I make an object moving along a spline turn to match the spline? I
> know it's easy to do with the camera, just set look_at to clock+0.1, but
> how do I do it with any object?
>
See \scenes\animations\splinefollow
JM
--
#macro J(M)V()<V(),V(),V()>#if(M)J(M)#end#end#local _=20;#macro V()asc(substr
("IIMYKIIYMMKQOIMYQEEYSCEYUEGQWEHYYIGQ[HEY]IGY_JGQaJEYcKGYeKGQgLEYiMKIs!K!",
73-M,1))/2-36.5#declare M=M-1;#end#local a=spline{cubic_spline J(72)}#while
(_)sphere{a(_).1pigment{rgb(a(_)+(x+y)*3.5)}}#local _=_-.02;#end//JM
Post a reply to this message
|
![](/i/fill.gif) |