Commit Graph

16 Commits

Author SHA1 Message Date
951ae7b11d Backported from godot4: Add the ability to look-at in model-space.
This is a much simpler attempt to solve the same problem as #76060, but
without breaking any compatibility.

* Adds a description of what model space is in the Vector3 enums
(MODEL_* constants). This has the proper axes laid out for imported 3D
assets.
* Adds the option to `look_at` using model_space, which uses
Vector3.MODEL_FRONT as forward vector.

The attempt of this PR is to still break the assumption that there is a
single direction of forward (which is not the case in Godot)
and make it easier to understand where 3D models are facing, as well as
orienting them via look_at.

- reduz

5fdc1232ef

Also bound the new Basis helper methods.
2024-09-30 17:04:00 +02:00
c09474ccd8 Re-extracted class docs. 2024-09-20 10:03:06 +02:00
36622694ee Re-extracted class docs. 2024-09-08 17:02:09 +02:00
6783cb92ab Re-extracted class docs. 2024-04-26 17:32:25 +02:00
0edc5438dd Re-extracted class docs. 2024-02-25 10:26:26 +01:00
93a2081a58 Re-extracted class docs. 2023-10-12 01:59:32 +02:00
86c9343349 Updated the links in the docs. 2023-08-29 22:33:15 +02:00
8ed3b41865 Re-extracted class docs. 2023-08-26 22:41:21 +02:00
ee6f207b0d Re-extracted class docs pt1. 2023-06-13 15:22:43 +02:00
fc991ede18 Re-extracted class docs. 2023-01-14 13:38:58 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
a1974c8338 Re-extracted the class docs. 2022-08-23 13:09:12 +02:00
714547cb17 Re-extracted class docs. 2022-08-21 00:40:49 +02:00
170a41ca82 Backported improvements to Basis from Godot4. Also bound all eligible methods. 2022-08-14 00:18:21 +02:00
730bce8587 Renamed Quat to Quaternion for consistency with the other engine math classes. 2022-08-13 15:22:33 +02:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00