MAXON CINEMA 4D: Cinema 4D Forum Adobe After Effects Forum

XPResso Question - Rotation Values

COW Forums : Maxon Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Tony BaroneXPResso Question - Rotation Values
by on Mar 12, 2015 at 7:43:54 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.

Return to posts index

Brian JonesRe: XPResso Question - Rotation Values
by on Mar 12, 2015 at 9:05:59 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.

Return to posts index

Tony BaroneRe: XPResso Question - Rotation Values
by on Mar 13, 2015 at 12:04:22 pm

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

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved