Mike Estee
d39003c0bf
Fix console errors and crash in cleanup code for PhysicalBoneSimulator3D
2025-03-14 11:01:34 +01:00
Silc Lizard (Tokage) Renew
cb7085340e
Add saving flag hack to Skeleton and revert reset timing of animation
2025-01-28 03:52:01 +09:00
Rémi Verschelde
bb8001c83a
Merge pull request #101450 from TokageItLab/reset-anim-skeleton
...
Change reset timing of the AnimationMixer and Skeleton on save
2025-01-12 18:07:32 +01:00
Silc Lizard (Tokage) Renew
d5e91eaa42
Change reset timing of the AnimationMixer and Skeleton on save
2025-01-12 07:12:34 +09:00
Nazarii
482531c4b8
Use thread_local for bones_backup
2024-12-31 16:32:15 +02:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com >
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2024-12-24 00:40:09 +08:00
Lukas Tenbrink
b5c31ebb41
Add contains_char() for single-character 'contains' calls.
2024-12-06 20:23:35 +01:00
rune-scape
d58b2e879f
Get rid of easily removable uses of const_cast
2024-12-01 17:50:13 -08:00
Thaddeus Crews
04786f0ee8
Merge pull request #97824 from TokageItLab/retarget-modifier
...
Add RetargetModifier3D for realtime retarget to keep original rest
2024-11-26 13:04:47 -06:00
Silc Lizard (Tokage) Renew
f5b49af99f
Add RetargetModifier3D for realtime retarget to keep original rest
2024-11-18 22:44:55 +09:00
Silc Lizard (Tokage) Renew
5d1a2a4216
Fix Skeleton doesn't update skin after deactivating modifiers
2024-11-12 04:41:08 +09:00
Haoyu Qiu
d47425b35f
Don't mark PROPERTY_USAGE_NO_EDITOR properties for translation
...
Using `PNAME()` on these properties are redundant as they won't be displayed
in the editor and some of them will be automatically ignored by the
extraction script.
2024-10-26 22:09:21 +08:00
Clay John
acc3786db2
Merge pull request #98009 from TokageItLab/init-skel-skin
...
Fix initial skin update timing in Skeleton3D
2024-10-17 16:51:05 -07:00
Silc Lizard (Tokage) Renew
d29e7b6953
Fix initial skin update timing in Skeleton3D
2024-10-16 05:13:13 +09:00
detomon
9ab84887aa
Improve performance of global bone pose calculation in Skeleton3D
2024-10-12 11:13:22 +02:00
Nazarii
1ba168fcbc
Use local vector for skeleton
2024-10-02 20:38:40 +03:00
demolke
0468bea899
Add per-bone meta to Skeleton3D
...
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +02:00
Rémi Verschelde
b1088047a0
Merge pull request #95124 from kleonc/skeleton2d_fix_set_get_always_returning_true
...
Fix `Skeleton2D.{_set|_get}` always returning true
2024-08-19 14:34:09 +02:00
A Thousand Ships
602a348ab1
Make Skeleton3D bone simulator an internal child
2024-08-07 11:38:16 +02:00
kleonc
115cd47fd6
Fix Skeleton2D.{_set|_get} always returning true
2024-08-04 18:44:07 +02:00
Silc Lizard (Tokage) Renew
9c1f23c3db
Re-add Skeleton3D::animate_physical_bones
2024-07-14 14:24:25 +09:00
Silc Lizard (Tokage) Renew
793f3832e5
Rework migration of animate_physical_bones to compatibility
2024-06-25 18:54:59 +09:00
Silc Lizard (Tokage) Renew
5774d57496
Optimize update flag by SkeletonModifier
2024-06-23 17:01:01 +09:00
Silc Lizard (Tokage) Renew
a57f9f863d
Add get_concatenated_bone_names() to Skeleton3D for Modifier's hint
2024-06-10 10:19:36 +09:00
Dario
e54b928974
Replace List with LocalVector on Skeleton3D's bone transform update.
2024-05-20 11:58:36 -03:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
A Thousand Ships
a0dbdcc3ab
Replace find with contains/has where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to List
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Rémi Verschelde
84013a31ea
Merge pull request #91122 from TokageItLab/simulator-memdel
...
Modify allocation process of the PhysicalBoneSimulator in Skeleton3D
2024-05-04 11:52:22 +02:00
Silc Lizard (Tokage) Renew
a22923daf7
Static allocation bones copy for SkeletonModifier
...
Co-authored-by: SlugFiller <5435495+SlugFiller@users.noreply.github.com >
2024-05-04 11:16:26 +09:00
Silc Lizard (Tokage) Renew
4900dddb88
Modify allocation process of the PhysicalBoneSimulator in Skeleton3D
2024-05-03 06:00:10 +09:00
Silc Lizard (Tokage) Renew
78a5ef4158
replace bone_pose_updated to skeleton_updated signal
2024-04-13 05:48:42 +09:00
Kusok
c0cc9d2b5e
Fix deprecated=no build
2024-04-06 23:13:38 +08:00
Silc Lizard (Tokage) Renew
bf3ef56c2f
Remove unavailable property binding reset_on_save from Skeleton3D
2024-04-05 08:47:50 +09:00
Silc Lizard (Tokage) Renew
04dd299cba
Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB
2024-04-05 01:28:26 +09:00
smix8
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Zi Ye
995bc8d049
Make Skeleton3D::add_bone return the new bone index right away, instead of requiring an additional call to get_bone_count.
2024-02-25 05:24:48 -06:00
nikitalita
3fbbc3bbd6
Fix Skeleton3D deprecated format missing pose
2024-02-05 23:36:31 -08:00
Yuri Sizov
36f5050c34
Merge pull request #87050 from nikitalita/convert-3.x-skeletons
...
Skeleton3D: Convert 3.x skeletons
2024-01-22 20:38:51 +01:00
nikitalita
bcad569ed9
Skeleton3D: Convert 3.x skeletons
2024-01-19 17:43:09 -08:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
Ninni Pipping
dcd2b883eb
Use NULL instead of COND checks when appropriate
...
Restricted to scene
2023-06-10 08:56:30 +02:00
Lyuma
c567d46a2f
Skeleton3D: Only reset rest_dirty after ALL bone transforms have finished update
2023-06-08 19:23:14 -07:00
detomon
ea80213eee
Fix adding bones with the same name after calling Skeleton3D.clear_bones()
2023-06-05 11:55:09 +02:00
Artyom Lunchenkov
f645eee62e
Improve Skeleton3D::find_bone() performance
2023-05-23 21:02:46 +06:00
Lyuma
565803ce3d
Fix get_bone_pose_global_no_override()
2023-05-18 03:14:45 -07:00
Juan Linietsky
98c655ec8d
Refactor Node Processing
...
* Node processing works on the concept of process groups.
* A node group can be inherited, run on main thread, or a sub-thread.
* Groups can be ordered.
* Process priority is now present for physics.
This is the first steps towards implementing https://github.com/godotengine/godot-proposals/issues/6424 .
No threading or thread guards exist yet in most of the scene code other than Node. That will have to be added later.
2023-05-09 19:17:51 +02:00
Lyuma
fd25bb50ab
Remove SkeletonModificationStack3D, and Skeleton3D api cleanup
...
Removes all 3D modification resources. SkeletonIK3D is a node and still supported.
Remove deprecated Skeleton3D functionality for 4.0, so we can add it back in 4.x.
Remove local_pose_override feature from Skeleton3D and BoneAttachment3D.
Expose Skeleton3D::get_version() so IK scripts/extensions can cache bones.
Note: This change only affects 3D. SkeletonModification2D will work as before.
2023-01-12 12:04:53 -08:00