logix1390 Posted December 30, 2019 Share Posted December 30, 2019 Hello, I am trying to get a simple if -else statement to work in Vops. I think I have it working but with strange results. Basically I am trying to say if @ptnum > 100 than move up along Y axis. However, it seems my points are collapsing in . Not sure if I am doing this correctly? Ultimately I am trying to get this if-else statement working in my flip sim. Any help would be appreciated. I will attach my scene for any one that wants to take a look. Thank you if_else_sops_dops.hipnc Quote Link to comment Share on other sites More sharing options...
bunker Posted December 30, 2019 Share Posted December 30, 2019 you need to pass P through your if block if_else_sops_dops2.hipnc or use a wrangle, much simpler and cleaner. if(@ptnum>1444)@P.y+=3; Quote Link to comment Share on other sites More sharing options...
logix1390 Posted December 30, 2019 Author Share Posted December 30, 2019 @bunker Ahh makes sense. Yea, thought it would be easier in vex but just giving vops a try. Thank you !! 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.