Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Object rotation angle problem #36

Open
SongQiPing opened this issue Sep 29, 2022 · 0 comments
Open

Object rotation angle problem #36

SongQiPing opened this issue Sep 29, 2022 · 0 comments

Comments

@SongQiPing
Copy link

theta = 360.0 * random.random()

bpy.context.object.rotation_euler[2] = theta

I think there is a mistake here. When I tried to use the object rotation, I found that the object did not rotate much. After I debug, I find that the angle here is incorrect. This angle should be radians, not angles.

I hope everyone can understand this problem. After all, this problem has caused me a lot of trouble.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant