Luc Van Roy wrote:
> I know there was a plugin out somewhere that could interactively
calculate
> the average motion between two null objects and apply this to a third in
> between. (for example one null object floating between two other nulls)
>
> Anyone knows about this one?
>
>
I don't know about a plugin, but an Lscript wouldn't be tough to create.
Even easier, just use this syntax from the expressions engine:
======
vector center(vector,vector)
This function returns a vector that is centered between the two argument
vectors.
======
You'd use it this way (I think it seems there should be a better way,
but this does work)
Create three expressions
center([MyNull.Position],[YourNull.Position]).x
center([MyNull.Position],[YourNull.Position]).y
center([MyNull.Position],[YourNull.Position]).z
Then apply them to
CenterNull.pos.x channel
CenterNull.pos.y channel
CenterNull.pos.z channel
and the rest is automatic.
It would be nice if it could be done in one expression as in applying
center([MyNull.Position],[YourNull.Position])
to the
CenterNull.pos channel, but the channels are broken out into their
components and I don't see a way to recombine them into a single vector
channel.
Anyone?
CWCunningham


|