iTween MoveAdd world coordinates Simple

Hi there,

I am having a great deal of trouble simply moving an object by world space in iTween. Here is some code I have that run on collision.

iTween.MoveAdd(collision.gameObject,{“y”:3, “time”:4, “space”:world});

it throws up an error saying reverting to default space type as “world” is not a valid type. I have tried isLocal:true and nothing seems to work. I’m not sure if it’s due to the fact these objects are instantiated .FBX models or not.

Please help it’s driving me crazy

Will

I managed to solve my own problem before getting a reply by trying every combination under the sun. The syntax doesn’t seem to be written online anywhere i could see. It goes like this:-

iTween.MoveAdd(collision.gameObject,{“y”:3, “time”:4, “Space”:“world”});

hope this helps someone

It does, thx!