THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/03/2005 at 08:13, xxxxxxxx wrote:
Cinema 4D Version: 9.1
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ;
I have problems using the "SetRotation" command.
I want to set the rotation on the b-axis by using:
var hObj = doc->FindObject("stundenzeiger");
var h = 10;
in this case the result should be 300 degrees.
by checking the object´s rotation using the "GetRotation" command
i get the correct vector [0.000000,0.000000,300.000000].
but still my object seems to have the wrong rotation.
in the "coordinate manager" my b-rotation is 10313.24 degrees.
who can help me?
thanx in advance...
On 17/03/2005 at 09:29, xxxxxxxx wrote:
The rotatin is in Radians. 300 is in degrees. You can convert values from Deg to Radians with Radians(degree);
On 17/03/2005 at 23:19, xxxxxxxx wrote:
That´s exactly what I needed.
Thans a million Katachi!