Jump to content

Vector Conundrum


Juliena
 Share

You are about to reply to a thread that has been inactive for 2899 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

So!

Vectors, shouldn't really be having an issue with this and yet I am. Fiddled around and came to no success, so I'm here to see if anyone understand why my script keeps yelling Syntax error at me. I'm quite befuddled. 
In short

 

vector size = <0.1, 0.1, 10.0>;
float variable = size.z;

 

Here this should return the value "10.0" under the float "variable", correct? At least, that's what I'm reading via the wiki for Vectors. Is this out of date, or are my scripts just acting up or something, because I'm very confused right now.
Any help would be appreciated!

Link to comment
Share on other sites

You've actually solved my issue just like that xD

I was trying to use it before the initate state, evidentally that does not work. Moved it down into a touch_start and no more problems. So thank you! =P

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2899 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...