| Blockland Forums > Modification Help |
| PathCamera |
| << < (4/4) |
| MegaScientifical:
--- Quote from: WRB852 on July 19, 2010, 12:49:34 PM ---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. --- End quote --- 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. |
| Desolation:
--- Quote from: MegaScientifical on July 19, 2010, 08:07:02 PM ---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. --- End quote --- This was taken from the Appendix. --- Code: ---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 --- End code --- Edit: Oh man, I did it! It looks so lovey! |
| WRB852:
Ahaha I got it working too. Interesting. |
| Desolation:
For those who want to see what it's like. http://www.xfire.com/video/3116d8/ |
| Navigation |
| Message Index |
| Previous page |