The docs don’t say whether the Trigonometry nodes like Cos and Sin work with degrees or radians, so you have to figure it out yourself. Fortunately, that’s pretty easy to do. You just check which of these returns -1: cos( 180 ) or cos( π) ?
I went a little overboard, but this shows that Cos and Sin expect angular measurements expressed in degrees.
This is based on some basic trigonometry, which can be pretty handy when working with ICE:
Agreed. This is one of the things that I would like amended in the ICE reference document, to provide information on the various input port, the type of input allowed, the format (degrees vs radians) and range -10000 to + 10000, etc. Other part of the SDK provide this but the ICe Reference section needs some love!
Good work, keep it comming!