PDA

View Full Version : Help with XYZ


kane
11-30-2007, 05:08 PM
Hi,

Sorry if this post belongs somewhere else:

My client wants to give me a bunch of xyz coordinates to plug into the motion of my object. Any ideas on how I can do this?

Thanks
(I know for you programmers out there, this is probably the simplest thing ever):help:

kane
11-30-2007, 05:13 PM
plus what are all the numbers next to the xyz coordinates in the motion channels?

Like in this one. This is the x channel and the position is 0, 1.5, 3.2, -1.2
So, what are all those other numbers?

Channel 0
{ Envelope
4
Key 0 0 0 0 0 0 0 0 0
Key 1.5 0.033333333333333333 0 0 0 0 1.4876033057851239 0 0
Key 3.2000000476837158 0.066666666666666666 0 0 0 0 1.685950460512776 0 0
Key -1.2000000476837158 0.10000000000000001 0 0 0 0 -4.3636364582156348 0 0
Behaviors 1 1
}

kane
11-30-2007, 07:07 PM
never mind about what all the numbers are, I figured it out.
They are as follows if anyone else is wondering
Key "Position" "time" "Interpolation style" "and the rest are interpolation values"

Jarno
11-30-2007, 07:18 PM
The meanings of all the envelope values are described in the LWSDK documentation in the scene fileformat section.

---JvdL---

adamredwoods
10-30-2008, 04:42 PM
Also depends how they are giving you the XYZ coordinates (file type).

You could also create a null and plug the coordinates into that, then you can parent anything you wish to it.

adamredwoods
10-30-2008, 04:43 PM
Oops, sorry, waaaaay old.