Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D XPResso Question – Rotation Values

  • XPResso Question – Rotation Values

    Posted by Tony Barone on March 12, 2015 at 7:43 pm

    Can someone please give me some Xpresso help here?
    I’m clearly missing something. I have a setup, in the file attached, where selecting a button under my Controller user Data determines the direction my object is pointing.
    Its passing it on through a Condition Node in Xpresso, but I would like to be able to enter the actual degrees of rotation instead of however its working now.
    The way I figured out the correct numbers in my current setup was connecting a Result Node to my object, rotating to the degree I wanted, and finding the Real output.

    Any help would be greatly appreciated.

    8648_conditions.c4d.zip

    Tony Barone replied 11 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Brian Jones

    March 12, 2015 at 9:05 pm

    C4D works by default with rotation as Radians (makes math easier in some things) so to be able to get the degrees you want working put a Degree node in between the Condition and the Torus node and set it to Degree To Radians so you will be able to put degrees into the Condition node slots but have them translated to Radians that the Rotation.H port of the Torus wants.

  • Tony Barone

    March 13, 2015 at 12:04 pm

    Thank you for your help! I had been looking for a Degree Node and somehow didn’t see it. Really appreciate your explanation.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy