Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

BcM

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About BcM

  • Rank
    Peon

Personal Information

  • Name
    Bas Mettes
  1. Hello, I just started with Houdini, and tried to make a sweep kinda thingy with VEX (part of a larger plan). I cannot seem to figure out how to get around this problem. When I scatter points around my existing point, they are not rotated, I assume because the points I drew have no normal whatsoever. I want them like the red lines in the attachment. I tried to do a lookat from one point to the next, but I cannot figure out what to do next. //define variables float twopi = 3.14159 * 2; float theta = 0; float step_angle = twopi / (float)85; float x, z; vector pos; matrix n; // define line rotation // add points while(theta < twopi) { x = @P.x + cos(theta) * .05; z = @P.z + sin(theta) * .05; pos = set(x, @P.y, z); addpoint(0,pos); theta += step_angle; } Any help would be appreciated.