Search - User list
Full Version: Tangent rotation problem
Root » Technical Discussion » Tangent rotation problem
mrwazzo
Hi there,

So quickly and to the point:

1/tan(ch(“../roomheight”)/ch(“../roomdepth”))

At this point I realized that the tan^-1 button on scientific calculators isn't actually 1/tan… Does houdini have a Sin/Cos/Tan converter? If not, can you base an angle off of 2 lengths in houdini another way?

Thanks for any help, just for reference, trying to make a banister rail on a staircase, and the staircase is working procedurally fine, have the banisters set up, just trying to put the pole on it finally.

Can upload the file and show specifically what im talking about if it will help.
michael.davis
If I understand correctly, you want to use the atan() function (atan meaning “arctangent”). In HScript that will give you an angle in degrees.
mrwazzo
Excellent, thank you very much! Exactly what I was looking for
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB