Xpresso help please


#1

Hello all. How do I use Xpresso to move an object along its vector? For example; how would I move a sphere rotated 30 degrees on the h axis 100 units along its x vector, not in the x direction? I’m trying to write an expression to open two doors driven by the proximity of the camera. The doors slide into the wall, not swing open.

Here is a gif of what I have. It works but it’s a clunky solution.

Thanks in advance for any help.


#2

Oops… Nevermind. I just had to stick both doors in a null and it works like a champ. Doh.

:drool:


#3

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.