Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

[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 *