Celestial

Celestial

573k Downloads

[Bug] Rotation axes aren't applied correctly

UsernameGeri opened this issue ยท 1 comments

commented

Using celestial_1.19.4_forge-2.0.

Bug description
I've set up a rotation for a skybox using the base_degrees properties, with these equations:

"base_degrees_x": "((dayTime * (360/24000)) * (-1))",
"base_degrees_y": "((26.52 * cos((1/12000) * 180 * dayTime) -  26.52) * (-1))",
"base_degrees_z": "((26.52 * sin((1/12000) * 180 * dayTime)))"

Each of the axes work correctly by themselves, however when all 3 equations are configured, the rotation seems to get broken.
Here's an explanation video showcasing the expected behavior.

blender.xyz.mp4

And the result in-game (the rotations are sped up for better visualization).

mc.xyz.mp4

here's also a pack for ease of testing:
rotation.zip

commented

After further testing I realized I misunderstood how rotation works, and there are no issues related to what I describe in the report.

This bug report can be closed.