Age | Commit message (Collapse) | Author |
|
Also fix a few stray clang-format formatting errors that passed
through CI unnoticed.
|
|
This closes #34505.
|
|
Even though this fixes the issue, the broken Skin resource in the inherited scene mesh will remain, it needs to be erased manually.
|
|
Added apply_impulse methods to PhysicalBone for ragdolls
|
|
|
|
(cherry picked from commit a169e1406de77c3abfe670217f18bcf2c1468bae)
|
|
Removed unused variables, add some constants numbers
|
|
|
|
In the 3D version:
- Partially revert #20908 that was reverted in the 2D version as part
of #21653. This ensures that the Vector returned is always perpendicular
to the surface collided with; and not the floor_normal Vector passed to
the function when on a floor.
- Include an update of the floor velocity before multiplying by the time
delta, which was added to the 2D version as part of commit 13a8014.
In the 2D version:
- Use the Vector2.slide() function instead of Vector2.tangent() to adjust
the amount of motion the stop_on_slope undoes to ensure that it is in the
right direction. This is a implementation of the 3D approach from #30588.
- Combine the !found_collision and motion == Vector2() checks for break.
- Other minor formating changes to make the functions look identical.
Also renamed some variables to align with their use.
|
|
It was triggering a warning in bullet followed with a crash in some cases.
WARNING: assert_no_constraints: A body with a joints is destroyed. Please check the implementation in order to destroy the joint before the body.
At: modules/bullet/rigid_body_bullet.cpp:465
|
|
Update transform property in the inspector when changing translation/rotation/scale
|
|
translation/rotation/scale
|
|
|
|
Fixes #28508.
|
|
A z_depth of 0 returns the camera position, which is not really useful.
This also makes the API breakage from 3.1 clearer as 3.1 code will now
fail to compile, so users will have to adapt and use the new parameter.
For the reference, in 3.1, the z_depth was hardcoded to the near plane.
Closes #33493.
|
|
Make sure particles are processed during the same frame when visibility is set to on, in case they are still active from before and need to be restarted.
Fixed #33476
|
|
Fix 3D move_and_slide with stop_on_slope
|
|
Link SoftBody tutorial in docs
|
|
|
|
|
|
Fix some crashes and using null pointers
|
|
|
|
Fixes uninitialized variable caused by PR #32921
|
|
|
|
Fixed delay when CPUParticles & CPUParticles2D start being emitted
|
|
Spatial::look_at wrong re-scaling
|
|
Particles were processed only on the next frame after the emission started, causing a one frame delay in rendering. Now the first process cycle is started during the same frame, which makes them consistent with Particles & Particles2D.
Fixes #32890
|
|
Adds a new NavigationMesh property to select which objects will be taken
into account for the generation.
By default it will use all the NavigationMeshInstance children to keep
compatibility. The new modes allow to build the NavigationMesh from
all the nodes belonging to a specific group, and optionally include
their children too.
|
|
|
|
|
|
|
|
|
|
Update when the skeleton skin is changed.
|
|
|
|
|
|
Added some obvious errors explanations
|
|
|
|
Fix particles scale randomization
|
|
|
|
Notify changes in properties that can be edited by 3D gizmos
|
|
Added skin support and simplified APIs to override bone position + glTF 2.0 import fixes
|
|
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
|
|
|
|
Prevent move_and_slide() to generate an error.
|
|
|
|
Add a Billboard property for Sprite3D
|
|
|
|
|
|
When moving KinematicBody2D from one scene to another and not freeing
the old scene, the first call to move_and_slide() in the new scene will
generate an error because KinematicBody2D keeps internaly a
RID on_floor_body of a body resource in the old scene which no more has
a space assigned.
To fix this, on_floor_body is set to empty RID in response to
NOTIFICATION_ENTER_TREE notification of KinematicBody2D and
KinematicBody. Also all other data related to move_and_slide() is reset:
floor, ceiling, wall flags, colliders vector, floor_velocity.
This fixes #31416.
|
|
Fix floor_max_angle comparison for impossible angles
|