How to set object' orientations? #1050
dexin-wang
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that the OnTop and Inside functions sample the object rotation based on the object's orientations, and orientations are all empty lists.
I want to sample the x or y axis rotation when setting the OnTop and Inside states of the object. Is this possible?
I currently think of an indirect method, which is to rotate the object along the x and y axes after setting the OnTop state, and adjust the object's z coordinate based on the aabb before and after.
But is there a more direct way?
Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions