summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-07Merge pull request #49397 from nekomatata/query-uninitialized-membersRémi Verschelde
Fix uninitialized members in physics query results
2021-06-07Merge pull request #49318 from reduz/native-extensionRémi Verschelde
Add API for registering native extensions
2021-06-07Fix uninitialized members in physics query resultsPouleyKetchoupp
2021-06-07Merge pull request #49390 from Calinou/pre-commit-allow-clang-format-12Rémi Verschelde
Allow clang-format 12 in the pre-commit hook
2021-06-07Merge pull request #49128 from Calinou/improve-position-node-axis-visibilityRémi Verschelde
Improve axis awareness and visibility for Position2D and Position3D
2021-06-07Merge pull request #49296 from NoFr1ends/fix-49294Rémi Verschelde
EditorSettings: Look for binding while filtering too
2021-06-07Merge pull request #49367 from Calinou/gdscript-highligher-add-annotationsRémi Verschelde
Highlight annotations in the GDScript syntax highlighter
2021-06-07Merge pull request #49221 from Faless/mp/4.x_rpc_refactorRémi Verschelde
[Net] Refactor RPCs, remove RSETs
2021-06-07Allow clang-format 12 in the pre-commit hookHugo Locurcio
clang-format 12's formatting is identical to clang-format 11's.
2021-06-07Merge pull request #49307 from pycbouh/tabs-update-on-theme-changesRémi Verschelde
Make sure `Tabs` reflect theme changes
2021-06-07Merge pull request #49308 from pycbouh/theme-prevent-type-overrideRémi Verschelde
Fix `Theme` overriding existing theme types with empty
2021-06-07Merge pull request #49386 from KoBeWi/is_instance_or_is_not_instanceRémi Verschelde
Don't remap resources belonging to instance
2021-06-07Don't remap resources belonging to instancekobewi
2021-06-07Merge pull request #49382 from akien-mga/misc-cleanupRémi Verschelde
Style: Cleanup uses of double spaces between words
2021-06-07Merge pull request #49383 from madmiraal/android-ci-remove-ndkRémi Verschelde
Don't install Android NDK in CI
2021-06-07Merge pull request #49379 from madmiraal/fix-android-deprecatedRémi Verschelde
Update Gradle archiveName and destinationDir properties
2021-06-07Merge pull request #49384 from madmiraal/rename-collisionobject3d-input_eventRémi Verschelde
Rename CollisionObject3D input_event signal position and normal parameters
2021-06-07Style: Cleanup uses of double spaces between wordsRémi Verschelde
Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
2021-06-07Don't install Android NDK in CIMarcel Admiraal
2021-06-07Rename CollisionObject3D input_event signal position and normal parametersMarcel Admiraal
2021-06-07Merge pull request #49337 from Chaosus/vs_texture_funcRémi Verschelde
Adds `UVFunc` for panning/scaling on UV's to VisualShader's.
2021-06-07Merge pull request #49349 from SirQuartz/patch-5Rémi Verschelde
Amend the quit() method description in `SceneTree` to include an exception for iOS
2021-06-07Merge pull request #49372 from KoBeWi/do_not_save_do_not_save_do_not_saveRémi Verschelde
2021-06-07Update Gradle archiveName and destinationDir propertiesMarcel Admiraal
2021-06-07Adds `UVFunc` for panning/scaling on UV's to VisualShader's.Yuri Roubinsky
2021-06-07Merge pull request #49360 from Chaosus/fix_shader_crashYuri Roubinsky
2021-06-06Don't save built-in script when adding methodkobewi
2021-06-06Highlight annotations in the GDScript syntax highlighterHugo Locurcio
By default, a orange color is used to highlight annotations in the script editor.
2021-06-06Merge pull request #49365 from Chaosus/fix_visual_scripts_header_colorYuri Roubinsky
2021-06-06Fixed color for node headers in visual scriptsYuri Roubinsky
2021-06-06Prevent shader crash when returning array when return type is scalarYuri Roubinsky
2021-06-06Merge pull request #49325 from reduz/rename-gi-classesRémi Verschelde
Rename GI Classes
2021-06-05Edit "quit()" method description in `SceneTree`Nick Huelin
Updated the `SceneTree.quit()` method to include a note that on iOS this method won't work as apps are expected to be closed via the Home button, not programmatically. Update Popup.xml
2021-06-06Merge pull request #47872 from ↵Rémi Verschelde
TwistedTwigleg/GSOC_2020_Working_Branch_2D_IK_SQUISHED New and improved IK system for Skeleton2D - Squished
2021-06-05New and improved IK system for Skeleton2DTwistedTwigleg
This PR and commit adds a new IK system for 2D with the Skeleton2D node that adds several new IK solvers, a way to control bones in a Skeleton2D node similar to that in Skeleton3D. It also adds additional changes and functionality. This work was sponsored by GSoC 2020 and TwistedTwigleg. Full list of changes: * Adds a SkeletonModifier2D resource * This resource is the base where all IK code is written and executed * Has a function for clamping angles, since it is so commonly used * Modifiers are unique when duplicated so it works with instancing * Adds a SkeletonModifierStack2D resource * This resource manages a series of SkeletonModification2Ds * This is what the Skeleton2D directly interfaces with to make IK possible * Adds SkeletonModifier2D resources for LookAt, CCDIK, FABRIK, Jiggle, and TwoBoneIK * Each modification is in its own file * There is also a SkeletonModifier2D resource that acts as a stack for using multiple stacks together * Adds a PhysicalBone2D node * Works similar to the PhysicalBone3D node, but uses a RigidBody2D node * Changes to Skeleton2D listed below: * Skeleton2D now holds a single SkeletonModificationStack2D for IK * Skeleton2D now has a local_pose_override, which overrides the Bone2D position similar to how the overrides work in Skeleton3D * Changes to Bone2D listed below: * The default_length property has been changed to length. Length is the length of the bone to its child bone node * New bone_angle property, which is the angle the bone has to its first child bone node * Bone2D caches its transform when not modified by IK for IK interpolation purposes * Bone2D draws its own editor gizmo, though this is stated to change in the future * Changes to CanvasItemEditor listed below: * Bone2D gizmo drawing code removed * The 2D IK code is removed. Now Bone2D is the only bone system for 2D * Transform2D now has a looking_at function for rotating to face a position * Two new node notifications: NOTIFICATION_EDITOR_PRE_SAVE and NOTIFICATION_EDITOR_POST_SAVE * These notifications only are called in the editor right before and after saving a scene * Needed for not saving the IK position when executing IK in the editor * Documentation for all the changes listed above.
2021-06-05Rename GI Classesreduz
* GIProbe is now VoxelGI * BakedLightmap is now LightmapGI As godot adds more ways to provide GI (as an example, SDFGI in 4.0), the different techniques (which have different pros/cons) need to be properly named to avoid confusion.
2021-06-05Merge pull request #39202 from Calinou/editor-import-invert-green-channelRémi Verschelde
Replace "Invert" import option with more useful "Normal Map Invert Y"
2021-06-05Merge pull request #45364 from madmiraal/rename-quatRémi Verschelde
Rename Quat to Quaternion
2021-06-05Merge pull request #49319 from madmiraal/add-missing-mono-overridesRémi Verschelde
Add missing override keyword to CSharpLanguage::is_control_flow_keyword()
2021-06-05Merge pull request #42282 from andriyDev/DeleteYSortRémi Verschelde
Remove YSort node, move its functionality into Node2D
2021-06-05Deleted YSort, moved its functionality directly into Node2D.andriyDev
YSort now has a compatibility alias to Node2D. Updated TileMap to use the existing Node2D y_sort_enabled property instead of its own property. Updated Node2D doc to include the new y_sort_enabled member. Updated TileMap doc to remove its mention of cell_y_sort. Deleted YSort doc.
2021-06-05Merge pull request #48908 from nekomatata/physics-nodes-reorganizationRémi Verschelde
Physics nodes reorganization
2021-06-04Linear velocity cleanupPouleyKetchoupp
CharacterBody has a linear_velocity property to replace the argument in move_and_slide. StaticBody handles reporting linear/angular velocity correctly when kinematic motion is used (in 3D, used in vehicle and navigation).
2021-06-04Safe margin cleanupPouleyKetchoupp
Safe margin property on CharacterBody only, used as argument in move_and_collide. Removed kinematic_safe_margin in 3D physics server, not really useful and now harmonized with 2D.
2021-06-04Support for kinematic_motion in StaticBodyPouleyKetchoupp
Does the same thing as simulate motion from RigidBody in Kinematic mode, and CharacterBody (previously KinematicBody). Added support for constant linear/angular velocity with kinematic_motion in StaticBody, which moves the body in physics. Updated documentation for StaticBody and CharacterBody to describe their functionalities more accurately.
2021-06-04More explanatory names for RigidBody modesPouleyKetchoupp
MODE_DYNAMIC instead of MODE_RIGID MODE_DYNAMIC_LOCKED instead of MODE_CHARACTER No more special case for sleeping behavior for MODE_DYNAMIC_LOCKED (MODE_CHARACTER was forcing the body not to sleep, which is redundant with can_sleep and wasn't done in Bullet).
2021-06-04Properties for move_and_slide and remove move_and_slide_with_snapPouleyKetchoupp
- snap property to replace move_and_slide_with_snap() - floor_max_angle, stop_on_slope, infinite_inertia, max_slides, up_direction properties to replace arguments from move_and_slide() - up direction now defaults to Vector3.UP and Vector2.UP
2021-06-04KinematicBody split between new CharacterBody and PhysicsBodyPouleyKetchoupp
PhysicsBody now has methods move_and_collide/test_move and needed properties for these methods: safe margin, locked axes (3D only). Moved collision_exceptions from StaticBody to PhysicsBody for 3D (same as 2D, and conforms to documentation). RigidBody doesn't have test_motion method anymore, it's now redundant with PhysicsBody.test_move.
2021-06-04Add API for registering native extensionsreduz
* First step for GDNative to behave more like modules * Only Object and ClassDB, the rest needs to happen on the GDNative side.
2021-06-04Add missing override keyword to CSharpLanguage::is_control_flow_keyword()Marcel Admiraal