Jump to content


Random distatnce between points


  • Please log in to reply
2 replies to this topic

#1 R_Flash

R_Flash

    Peon

  • Members
  • Pip
  • 5 posts
  • Joined: 24-May 12
  • Location:Russia
  • Name:Dmitry Salnikov

Posted 24 May 2012 - 09:41 AM

Hi. Sorry for my english. I new in Houdini and I have a problem. I try to make auto fence and can`t make different distance between boards. Thanks.

#2 Erik_JE

Erik_JE

    Illusionist

  • Members
  • PipPipPip
  • 377 posts
  • Joined: 12-January 10
  • Location:Stockholm, Sweden
  • Name:Erik Johansson-EvegĂ„rd

Posted 24 May 2012 - 09:45 AM

I guess you are using the Copy SOP to place the planks on a line.

In that case look into Copy Stamping and how to use the rand() hscript function togehter with it. By using stamp() in a transform node you can translate the different planks random amounts.
This is either a really smart move or by far the stupidest thing that we have ever tried.

#3 R_Flash

R_Flash

    Peon

  • Members
  • Pip
  • 5 posts
  • Joined: 24-May 12
  • Location:Russia
  • Name:Dmitry Salnikov

Posted 24 May 2012 - 10:15 AM

Thanks. Everything is done.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users