Age | Commit message (Collapse) | Author |
|
|
|
Update body transforms on joint2D setup
|
|
Body transforms from physics are used to setup the joint and they are
only updated before the physics step by default.
Without forcing the transform update, joints could use a previous
position if the body's position was set after it was added to the scene.
3D physics is not affected by this issue.
|
|
|
|
Move initialization of some classes to headers
|
|
' det == 0 ' is true.)
Fixes: #41873
|
|
|
|
|
|
"Flags" was a bit too ambiguous, and in 3D it hid GeometryInstance.Flags
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
|
|
Includes various changes triggered by the refactoring of method bindings.
|
|
Also separated Light2D in PointLight2D and DirectionalLight2D.
Used PointLight2D because its more of a point, and it does not work
the same as OmniLight (as shape depends on texture).
Added a few utility methods to Rect2D I needed.
|
|
-Rename pixel_snap to snap_2d_to_vertices
-Added snap_2d_to_transforms which is more useful
Fixes #41814
Solves proposal https://github.com/godotengine/godot-proposals/issues/1666
Supersedes #35606, supersedes #41535, supersedes #41534
|
|
-Allows merging several 2D objects into a single draw operation
-Use current node to clip children nodes
-Further fixes to Vulkan barriers
-Changed font texture generation to white, fixes dark eges when blurred
-Other small misc fixes to backbuffer code.
|
|
related https://github.com/godotengine/godot/issues/42985
|
|
Fixup `ColorRamp` to `Gradient` renames
|
|
|
|
-Removed normal/specular properties from nodes
-Create CanvasTexture, which can contain normal/specular channels
-Refactored, optimized and simplified 2D shaders
-Use atlas for light textures.
-Use a shadow atlas for shadow textures.
-Use both items aboves to make light rendering stateless (faster).
-Reorganized uniform sets for more efficiency.
|
|
Removed make_binders and the old style generated binders.
|
|
|
|
|
|
Relates to #42479, though I don't think it would crash in the master version.
|
|
Update all get_configuration_warning() to retrieve warnings from the parent
|
|
Fixes ParallaxLayer offset when camera zoom is ignored
|
|
|
|
update when it changes
|
|
`cast_to` is sometimes mistaken as a method rather than a property.
`target_position` makes it more obvious that it's a property.
|
|
|
|
|
|
Fix Camera2D Incorrect Preview Bounds
|
|
Changed CPU velocity calculation for EMISSION_SHAPE_DIRECTED_POINTS
to follow the same logic as in the GPU version:
mat2 rotm;
rotm[0] = texelFetch(emission_texture_normal, emission_tex_ofs, 0).xy;
rotm[1] = rotm[0].yx * vec2(1.0, -1.0);
VELOCITY.xy = rotm * VELOCITY.xy;
Now both CPUParticles2D & CPUParticles3D (z disabled) show the same results
as their GPU counterparts and take the initial velocity settings into account.
|
|
|
|
This reverts commit 08bbb3f161bfb4860d7574fa77b947872d344e7e.
|
|
Add override keywords.
|
|
Fix Camera2D incorrect preview bounds
|
|
|
|
`ConvexPolygonShape2D` and `ConcavePolygonShape2D` are only meant to be
used directly in code and not in the editor for physics-based use cases
specifically.
Developers are advised to use `CollisionPolygon2D` instead, which does
generate those shapes under the hood, handling polygon convexivity,
proper orientation etc.
|
|
Refactor physics force and impulse code to use (force, position) order
|
|
Enable raycast nodes by default
|
|
move_and_slide_with_snap() and fix tolerance in
move_and_slide_with_snap() max floor angle.
|
|
Fix https://github.com/godotengine/godot/issues/16323 in master. Apply same solution of https://github.com/godotengine/godot/issues/2074 in rotation and offset.
|
|
Fixes #36372 as Path2D/Path3D's `curve` property no longer uses a Curve
instance as default value, but instead it gets a (unique) default Curve
instance when created through the editor (CreateDialog).
ClassDB gets a sanity check to ensure that we don't do the same mistake
for other properties in the future, but instead use the dedicated
property usage hint.
Fixes #36372.
Fixes #36650.
Supersedes #36644 and #36656.
Co-authored-by: Thakee Nathees <thakeenathees@gmail.com>
Co-authored-by: simpuid <utkarsh.email@yahoo.com>
|
|
|