Setting Up a Custom Attribute for Rotation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey all - hopefully the last newbie question for a little while.
For coherence between business projects, I will need to create a Custom Attribute that is tied to the X-Rotation wire of an object in my scene. The custom attribute is named T-Beam rotation and was created as a Float parameter.
I am linking it to the X Rotation of my object through Parameter Wiring, however I am noticing that the custom attribute value is not equaling the rotation value shown in the rotation transform. If my object is rotated at 20 degrees I want the custom attribute to show 20 degrees as well. Instead, a small example value of 0.1 on the custom attribute rotates the object significantly (45 degrees or so) and I'm not sure why.
I'm thinking it might be because of an inconsistency between radians and degrees?
I'd like it to all show in degrees, so I have updated the wiring parameter expression with the below but it doesn't seem to change anything:
Any idea on how I can just set the Custom Attribute directly equal to the rotational degree reading of the object?