summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-08Add a form GitHub issue template for bug reportsHugo Locurcio
GitHub now supports forms as issue templates (currently in private beta). Godot has been opted into this private beta, which makes this new feature usable on the Godot repository. Inspired by the ImageMagick form: https://github.com/ImageMagick/ImageMagick/blob/main/.github/ISSUE_TEMPLATE/bug-report.yml
2021-06-06Merge pull request #49325 from reduz/rename-gi-classesRémi Verschelde
Rename GI Classes
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 missing override keyword to CSharpLanguage::is_control_flow_keyword()Marcel Admiraal
2021-06-04Rename Quat to QuaternionMarcel Admiraal
2021-06-04Replace "Invert" import option with more useful "Normal Map Invert Y"Hugo Locurcio
This can be used to invert a normal map's direction. The "Invert" import option is no longer useful in Godot 4.0 since it uses height maps instead of depth maps in StandardMaterial3D. This closes https://github.com/godotengine/godot-proposals/issues/785.
2021-06-04Merge pull request #48920 from aaronfranke/acceptRémi Verschelde
2021-06-04Merge pull request #47124 from aaronfranke/disable-skeleton3dRémi Verschelde
Disable Skeleton3D when compiling without 3D
2021-06-04Merge pull request #49304 from aaronfranke/tr3d-tr-compat-vpRémi Verschelde
Add "Transform" compatibility name for "Transform3D" in VariantParser
2021-06-04Disable Skeleton3D when compiling without 3DAaron Franke
Make animation code not depend on Skeleton3D or even Node3D
2021-06-04Merge pull request #49297 from aaronfranke/anim-type-tr3dRémi Verschelde
Rename Animation TYPE_TRANSFORM to TYPE_TRANSFORM3D
2021-06-04Add "Transform" compatibility name for "Transform3D" in VariantParserAaron Franke
2021-06-04Merge pull request #49303 from BastiaanOlij/gdnative_variant_transform_renameRémi Verschelde
Rename GODOT_VARIANT_TYPE_TRANSFORM to GODOT_VARIANT_TYPE_TRANSFORM3D
2021-06-04Rename GODOT_VARIANT_TYPE_TRANSFORM to GODOT_VARIANT_TYPE_TRANSFORM3DBastiaan Olij
2021-06-04doc: Sync classref after merge of #47336Rémi Verschelde
2021-06-04Merge pull request #48902 from pycbouh/editor-improve-template-downloaderRémi Verschelde
Improve the UI/UX of the Export Template Manager dialog
2021-06-04Merge pull request #44198 from madmiraal/rename-translation-positionRémi Verschelde
Rename Node3D's property translation to position
2021-06-04Merge pull request #47336 from Calinou/rename-shader-file-extensionRémi Verschelde
Rename the `.shader` file extension to `.gdshader`
2021-06-04Rename Node3D's property translation to positionMarcel Admiraal
2021-06-04Merge pull request #47871 from aaronfranke/assetlib-pmRémi Verschelde
Rename tabs in the project manager
2021-06-04Merge pull request #49300 from aaronfranke/editor-prop-tr3dRémi Verschelde
Rename EditorPropertyTransform to EditorPropertyTransform3D
2021-06-04Merge pull request #37013 from aaronfranke/2d-flipRémi Verschelde
Flip 2D icon to match Godot's handedness
2021-06-04Merge pull request #47116 from aaronfranke/3d-modulesRémi Verschelde
Disable 3D-only modules when 3D is disabled
2021-06-03Rename EditorPropertyTransform to EditorPropertyTransform3DAaron Franke
2021-06-03Rename Animation TYPE_TRANSFORM to TYPE_TRANSFORM3DAaron Franke
2021-06-03Rename tabs in the project managerAaron Franke
2021-06-03Use a more specific type for AcceptDialog register_text_enterAaron Franke
2021-06-03Disable 3D-only modules when 3D is disabledAaron Franke
2021-06-03Flip 2D icon to match Godot's handednessAaron Franke
2021-06-03Merge pull request #38430 from aaronfranke/transform3dRémi Verschelde
2021-06-03Merge pull request #43450 from aaronfranke/mouse-mode-bitwiseRémi Verschelde
Add MOUSE_MODE_CONFINED_HIDDEN to MouseMode enum
2021-06-03Merge pull request #49283 from KoBeWi/a&bRémi Verschelde
Improve sort_custom() description
2021-06-03Merge pull request #45624 from aaronfranke/clampRémi Verschelde
Allow clamping vectors and colors in addition to floats and ints
2021-06-03Improve the UI/UX of the Export Template Manager dialogYuri Sizov
2021-06-03Merge pull request #49282 from pycbouh/editor-fix-broken-pathsRémi Verschelde
Replace `get_settings_dir` with `get_config_dir` when fetching configuration paths
2021-06-03Merge pull request #49269 from sarchar/fix-dns-locksRémi Verschelde
Fix DNS resolve mutex locks