agitat3d Posted April 28, 2008 Share Posted April 28, 2008 Hi All, I have been setting up a VOP network and am having trouble with a conditional statement and i keep getting an error. This is my first VOP net and the logic seems right but it wont cook. My statement should go: FOR number of points DO { get position of a point coloured red calculate the distance between current point and red point IF point within user radius AND colour != red THEN set point blue ELSE dont change point colour } DONE The idea is that a point will be coloured blue if it is within a certain radius of a red point. Its just seems to bee the comparison that is the problem. Many thanks and your help is greatly appriciated Quote Link to comment Share on other sites More sharing options...
agitat3d Posted April 28, 2008 Author Share Posted April 28, 2008 Ok ive now fixed the problem by converting colour vector to a float. Thanks anyhow 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.