Author Topic: PathCamera  (Read 1661 times)

No, I definitely didn't do that. I'm not a complete idiot!

Here's what I have:

-snip-

From my understanding, it should start at where I first fired the tool, and then travel along the path of where I fired after that. For some reason, it still takes me out in space.

Well, I don't know crap, but you're setting position to "0.0" and the target to "1.0" which seems completely wrong. Position is a 3 variable thing, like "5 1 8". Target is likely also a position like that.

Well, I don't know crap, but you're setting position to "0.0" and the target to "1.0" which seems completely wrong. Position is a 3 variable thing, like "5 1 8". Target is likely also a position like that.

This was taken from the Appendix.
Code: [Select]
setPosition( pos )
Purpose
Use the setPosition method to set the position of the camera on a path as a
percentage.

Syntax
pos – A floating point value equal to the position on the current camera path.
Between 0.0 and 1.0.

Returns
No return value.

See Also
setState, setTarget
97

Edit:

Oh man, I did it! It looks so lovey!
« Last Edit: July 19, 2010, 10:23:57 PM by Desolation »

Ahaha I got it working too. Interesting.