View Single Post
Posts: n/a
Default 09-19-2010, 06:58 AM

But, when I create a variable for the cat named height and try to drag it into a method, it doesn't let me drop it anywhere ... so, does it not work or am I doing something incorrectly?

I add the cat, I create the cat's variable "Height" ... I add a line to myfirstmethod that says cat move up 1 meter and I try to drag the cat's function "variable named <variable name> of type <variable class> " it and drop it ... and it won't let me drop it.

I was hoping to be able to use this function to create an array of cats all with class variable "height" and then to be able to have them all jump different heights - but, I can't figure out how to access this variable ... if just doing individual objects (one cat) - then I can just drag the "Height" into the command, but if I want to use the array, I cannot.

I expected the function to work similarly to the "part named" function ... but I can't seem to get it to work.
Reply With Quote