Sepu Posted July 29, 2016 Share Posted July 29, 2016 Hey Guys Im just starting to learn VEX. And right now I was watching a tutorial but the guy with a very simple sintax H was doing the following. float myAttr = @Cd.b-@Cd.r; @cd = set(myAttr,myAttr,myAttr); Which I thought is the same as saying f@myAttr = @Cd.b-@Cd.r; where he is declaring a variable call myAttr. I thought that you can also define variable this way f@myVar, so to make this short what is the difference between saying the float myAttr and f@myAttr Hopefully Im making sense. Thanks Quote Link to comment Share on other sites More sharing options...
Skybar Posted July 29, 2016 Share Posted July 29, 2016 float myAttr creates a variable. f@myAttr creates an attribute on your geometry. Quote Link to comment Share on other sites More sharing options...
Sepu Posted July 29, 2016 Author Share Posted July 29, 2016 Great thank you for explaining! 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.