carlov Posted June 9, 2014 Share Posted June 9, 2014 Hi there, I'm trying to limit the velocity on my dop pieces with a popwrangler This does not work.. if abs(@v.z > 1) {@v.z = 1;} Anybody out there knows which variable I should use ? (i've tried many variations like v[2], velz, vel.z..) It would be wonderful to have a complete list of vex variables explained somewere... Thanks! Peace! Quote Link to comment Share on other sites More sharing options...
xs2222 Posted June 9, 2014 Share Posted June 9, 2014 Vcc -X sop in your terminal will spit them out Quote Link to comment Share on other sites More sharing options...
xs2222 Posted June 9, 2014 Share Posted June 9, 2014 Well replace sop with whatever operator search you need Quote Link to comment Share on other sites More sharing options...
pezetko Posted June 9, 2014 Share Posted June 9, 2014 It should, only problem in your expression is that if you want to limit negative direction of v.z you should put abs() function on @v.z directly, not on the result of comparsion. z_axis_speed_limit.hip Quote Link to comment Share on other sites More sharing options...
carlov Posted June 9, 2014 Author Share Posted June 9, 2014 Cool! Thank you guys! Peace! 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.