Jump to content
Sign in to follow this  
taemoor

Having difficulty with sin function.

Recommended Posts

hi all

A noob problem!

in case of a Hexagon, the smaller radius is sin60. I am using this to move the next hexagon this much, so in my Copy node;

Translate(x) has this line:

ch("../circle2/radx") * sin($PI/3)

image.png.2acce0eefc43ca4e5dfcb0884cb0d229.png

in radians PI/3 should be 60 Degrees.

but the hexagon only moves this much:

image.png.f93be10bbe993c0afd6e3f5f4b45a92c.png

What could possibly be wrong. 

I Appreciate any help in advance.

 

Share this post


Link to post
Share on other sites

The sin hscript expression function takes degrees (unlike I think the VEX one).

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×