[ad_1]

My aim is to make DirectionalLight3D rotate 360° across the scene, and in a second animation change the angle of rotation each 180 rotations between 75° and 30° on the X axis (a day evening cycle with seaons and the world origin entrance view trying equitorial). I might like to make use of as a lot engine performance as attainable and decrease scripts.

I have been searching for documentation for Godot on the 3D Rotation observe and quaternions, which the rotation observe forces you to make use of. Nothing has helped.

I have not even been capable of even get the directional gentle to rotate within the 3D Rotation observe.

Once you insert a key into the observe, as long as the values are x:0, y:0, z:0, W:1, between 2 keys, a gray line will kind. Change any worth and the road breaks. I suppose thats the anim observe.

If the anim observe is damaged, I get the notif AnimationPlayer: 'AnimationPlayer', Animation: ", 3D Rotation Monitor: 'day by day photo voltaic movement' accommodates unnormalized Quaternion key. from editor/plugins/animation_player_editor_plugin.cpp:1610. If the strains isnt broke, then the anim participant runs with out a notif, however theres no animation, since each key’s set to 0 0 0 1. If each the DirectionalLight3D and the first anim key are set 0 0 0 1, however I modify the 2nd key, the anim observe breaks, I get the error notif.

Taking part in round with quaternions, it looks as if I cant get 360° movement of on one axis if one other has been modified.

How do I make the solar spin?
The anim player and key inspector

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *