|
![](/i/fill.gif) |
John VanSickle wrote:
> It's not a special case, but rather a change in what the user wants (since
> that's what I was asking for: to know if there was a change in what he
> wanted).
>
> Anyway, suppose one has a gun turret (the example under discussion), like
> the top of a tank, for instance. The gun both turns and lifts, while the
> turret just turns. The macro I supplied here will give the transform for
> the gun, but not the turret; however, if the NewDirection vector is
> modified so that vdot(NewDirection,Up)=0, the macro will give the transform
> for the turret. It would be used this way:
>
> #local TurretDir=NewDirection-Up*vdot(NewDirection,Up);
> PointAlong(OldDirection,TurretDir,Up)
>
> The user needs to identify which objects need freedom of movement in
> both directions, which need freedom of movement in one direction, and
> group and align them as follows:
[snip]
It's still just a simple task for the user to do that with the standard
macro... but I see now that's what you were going to tell him how to do. :)
--
David Fontaine <dav### [at] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
![](/i/fill.gif) |