Commit Graph

20 Commits

Author SHA1 Message Date
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
11576b89dd GLTF: Implement the glTF Object Model in physics extension 2024-11-04 17:55:39 -08:00
cd367b3da3 GLTF: Prerequisite cleanups before KHR_animation_pointer
Add get_scene_node_path and has_additional_data to GLTFNode, remove center of mass ignore warning in physics (it's supported now), rename `d` to `mesh_dict` in mesh import code.
2024-11-04 17:55:39 -08:00
194bdde947 Cleanup of raw nullptr checks with Ref
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
3b1345c26e Change capitalization of glTF in errors and comments. 2024-08-15 18:07:30 -07:00
cb01094ccd Merge pull request #88301 from aaronfranke/gltf-explicit-compound-triggers
Add support for explicitly-defined compound triggers in GLTF files
2024-04-26 11:08:19 +02:00
92b243dc3c Separate Shape3D resource logic in GLTFPhysicsShape 2024-04-04 16:22:01 -07:00
ade5a8d802 Add support for explicitly-defined compound triggers in GLTF files 2024-04-04 14:34:40 -07:00
3604b57ba3 GLTF: Extract converting hull points to mesh to a helper function 2024-03-15 15:22:48 -07:00
35dafc9fa8 Split monolithic physics class files
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
c399424db9 Move 3D-only resources to their own folder 2024-02-26 05:23:04 -06:00
f18c46d687 Fix exporting trigger shapes in GLTF 2024-02-11 04:37:54 -06:00
b00e5cef63 GLTF: Update OMI_physics_body, add OMI_physics_shape, keep OMI_collider 2024-01-19 14:35:49 -06:00
517e9f8aef [Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-26 16:44:52 +02:00
d12b0787af GLTF: Add center of mass property 2023-08-11 11:27:01 -05:00
a222bdf83f GLTF: Rename GLTFCollider class to GLTFPhysicsShape 2023-06-16 15:18:24 -05:00
25b2f1780a Style: Harmonize header includes in modules
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:

Includes from the platform port or module ("local" includes) should be listed
first in their own block using relative paths, before Godot's "core" includes
which use "absolute" (project folder relative) paths, and finally thirdparty
includes.

Includes in `#ifdef`s come after their relevant section, i.e. the overall
structure is:

- Local includes
  * Conditional local includes
- Core includes
  * Conditional core includes
- Thirdparty includes
  * Conditional thirdparty includes
2023-06-15 14:35:45 +02:00
6dde6b4cdf GLTF: Expose the inertia tensor instead of a vector 2023-06-06 21:06:49 -05:00
a98be434b7 Fix center of mass when importing GLTF physics bodies 2023-05-29 00:09:15 -05:00
639b8e7dc7 Implement physics support in the GLTF module 2023-03-09 20:02:05 -06:00