Age | Commit message (Collapse) | Author |
|
MeshInstance added as child nodes for CollisionObject debug shapes can
be invalidated while deleting the collision object (child nodes are
deleted first), which caused accesses to invalid memory in
shape_owner_remove_shape that lead to random crashes.
Also optimized accesses to shapes to avoid copy-on-write on each
iteration.
|
|
Previously, the warnings were passed as a string and delimitation of which were hard coded at each implementation.
|
|
TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix2
Fix for SkeletonIK not working correctly with 0 interpolation and incorrectly rotating with animation
|
|
|
|
Change XRPositionalTracker to a reference (master)
|
|
incorrectly rotating with animation. Now the root bone rotates differently to ensure it always rotates correctly and works with BoneAttachment3D nodes.
|
|
Allow renaming bones and blendshapes.
|
|
|
|
|
|
SoftBody support in GodotPhysics 3D
|
|
Rename Sprite.region_enabled getter and setter methods to match properties
|
|
Fix spamming errors when SoftBody pinned nodes have no attachment
|
|
There was a specific case where the node path wasn't checked for
validity before trying to access the attachment node.
It could cause lots of error log noise in both editor and game.
|
|
|
|
- Fixed SoftBody surface update with new rendering system
- Added GodotPhysics implementation for SoftBody
- Added support to get SoftBody rid to interact with the physics server
- Added support to get SoftBody bounds from the physics server
- Removed support for unused get_vertex_position and get_point_offset
from the physics server
- Removed SoftBody properties that are unused in both Bullet and
GodotPhysics (angular and volume stiffness, pose matching)
- Added RenderingServerHandler interface to PhysicsServer3D so the physics servers don't need to reference the class from SoftBody node directly
|
|
Disable debug collision shapes in the editor
|
|
If the editor was started with --debug-collisions, 3d shapes were
displayed twice, both with the gizmo and debug shapes. Some shapes could
also persist after being removed due to the usage of queue_free() to
destroy the debug shapes.
|
|
|
|
Also renames Sprite2D.region_filter_clip property and its setter to
region_filter_clip_enabled and set_region_filter_clip_enabled.
|
|
|
|
SkeletonIK changes and bug fixes
|
|
|
|
|
|
|
|
Hide more options of disabled properties
|
|
|
|
|
|
Add size check in BakedLightmapData::_set_user_data()
|
|
Fix Joint2D/Joint3D node path reset on scene switch
|
|
|
|
When one of the bodies exited the tree, the corresponding node path was
reset instead of just resetting the joint from the physics server. That
was causing the node path to be reset on scene switch when one of the
bodies is under the joint in the scene tree.
|
|
|
|
The problem happened when the passed from_node was null and the GIProbe
node had no parent node.
Fixes #45978
|
|
between two bodies is destroyed
|
|
Add an editor gizmo to CollisionObject3D.
CollisionShape3D no longer shows collision shapes directly.
|
|
|
|
* Adds both a preview sun and preview environment to the 3D editor.
* They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene.
* If any is added to the scene, the respective preview is disabled.
* Changed WorldEnvironment to better handle multiple node versions.
* Added a function in SceneTree to get the first node in a group.
* Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
|
|
And fix various bogus bindings following previous PRs.
|
|
Implements https://github.com/godotengine/godot-proposals/issues/1835#issuecomment-727186192
* PauseMode is now ProcessMode, containing the following states:
```
PROCESS_MODE_INHERIT, // same as parent node
PROCESS_MODE_NORMAL, // process only if not paused
PROCESS_MODE_PAUSE_ONLY, // process only if paused
PROCESS_MODE_ALWAYS, // process always
PROCESS_MODE_DISABLED, // never process
```
* NOTIFICATION_PAUSED and NOTIFICATION_UNPAUSED are received effectively when the node is paused and unpaused (not any longer when pause mode is set in SceneTree).
* Renamed some nodes that used ProcessMode/process_mode to specify a callback type to ProcessCallback to avoid clashes.
|
|
Modernize atomics (and fix `volatile`)
|
|
- Based on C++11's `atomic`
- Reworked `SafeRefCount` (based on the rewrite by @hpvb)
- Replaced free atomic functions by the new `SafeNumeric<T>`
- Replaced wrong cases of `volatile bool` by the new `SafeFlag`
- Platform-specific implementations no longer needed
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
|
|
-Advanced Settings toggle also hides advanced properties when disabled
-Simplified Advanced Bar (errors were just plain redundant)
-Reorganized rendering quality settings.
-Reorganized miscelaneous settings for clean up.
|
|
|
|
Fix a pop on play() in AudioStreamPlayer2D and 3D
|
|
|
|
CPUParticles3D crash fix
|
|
add check to see if p_order is in range for CPUParticles3D::set_draw_order'
|
|
Fixes #40301.
Fixes #45947.
|
|
|
|
Return setseek position if one exists in get_playback_position.
|