MartinuZ Posted February 2, 2015 Share Posted February 2, 2015 Hi, I've cached out a particle sim and reading that back in. I'm trying to modify the spritescale with a point wrangle: spritescale already exists in the file cache. @P.y += 12; works @spritescale += 1.2; works but only modifies the x component, need y also @spritescale.y += 1.2; does not work what i'm i doing wrong? cheers, Martijn Quote Link to comment Share on other sites More sharing options...
iamyog Posted February 2, 2015 Share Posted February 2, 2015 (edited) Assuming @spritescale is a vector, you have to write v@spritescale. VEX understands a simple @ is a float. shortcut to f@ Edited February 2, 2015 by iamyog Quote Link to comment Share on other sites More sharing options...
rayman Posted February 2, 2015 Share Posted February 2, 2015 v@spritescale.y += 1.2 what about this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.