summaryrefslogtreecommitdiffstats
path: root/scene
Commit message (Collapse)AuthorAgeFilesLines
* Remove shape metadata from 2D physics serverPouleyKetchoupp2021-09-304-21/+0
| | | | | | Shape metadata was only used to get tile information when colliding with tilemaps. It's not needed anymore since there's an API in tilemap using body ids instead.
* Merge pull request #53197 from nekomatata/fix-motion-direction-in-slopeCamille Mohr-Daurat2021-09-302-62/+89
|\ | | | | Fix motion direction in slope for CharacterBody3D
| * Fix motion direction in slope for CharacterBody3DPouleyKetchoupp2021-09-302-62/+89
| | | | | | | | | | | | | | - More accurate sliding in slopes to keep input direction correct - More accurate constant speed calculation - Renamed linear_velocity to motion_velocity for clarity - General code cleaning and simplifications
* | Merge pull request #53149 from fabriceci/port-move-and-slide-3D-new-changesCamille Mohr-Daurat2021-09-302-34/+110
|\ \ | | | | | | Add latest API changes added in the 3D version of move_and_slide to the 2D version
| * | Add latest changes added in the 3D versionfabriceci2021-09-302-34/+110
| | |
* | | Merge pull request #53259 from boruok/fix-atlas-texture-get_data-crashRémi Verschelde2021-09-301-1/+1
|\ \ \
| * | | Fix AtlasTexture get_data() crashboruok2021-09-301-1/+1
| |/ /
* | | Merge pull request #53254 from Calinou/node-rename-filenameRémi Verschelde2021-09-304-31/+31
|\ \ \ | |/ / |/| | Rename Node's `filename` property to `scene_file_path` for clarity
| * | Rename Node's `filename` property to `scene_file_path` for clarityHugo Locurcio2021-09-304-31/+31
| | |
* | | Merge pull request #53239 from nekomatata/fix-animatable-body-initial-stateRémi Verschelde2021-09-302-3/+12
|\ \ \
| * | | Fix AnimatableBody moving and colliding during the first framePouleyKetchoupp2021-09-292-3/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | _update_kinematic_motion() shouldn't be called in the constructor It's too early and causes a first call to set the body position to 0. Then the second call to set the actual position triggers kinematic motion, colliding with objects on the path to the initial position. Side effect of sync to physics now enabled by default.
* | | Merge pull request #53112 from EricEzaM/better-breakpoint-gutterRémi Verschelde2021-09-303-6/+40
|\ \ \ | |_|/ |/| |
| * | Improved breakpoint gutter for CodeEdit.Eric M2021-09-303-6/+40
| | | | | | | | | | | | Added preview of breakpoint placement on hover. Added override of icon for the Editor to use an SVG so it is no longer blurry.
* | | Merge pull request #53223 from Paulb23/fix-autocomplete-triggerRémi Verschelde2021-09-291-2/+7
|\ \ \
| * | | Fix TextOp setting to none when typingPaulb232021-09-291-2/+7
| | | |
* | | | Merge pull request #52724 from groud/improve_tilemap_physicsRémi Verschelde2021-09-294-133/+228
|\ \ \ \ | |/ / / |/| | |
| * | | Improve TileMap physics for moving platforms and conveyor belts like movementsGilles Roudière2021-09-294-133/+228
| |/ /
* | | Don't memcpy to nullptr even if length is zeroHaoyu Qiu2021-09-291-3/+5
| | |
* | | Merge pull request #53000 from Chaosus/lineedit_expose_selection_methodsRémi Verschelde2021-09-292-0/+20
|\ \ \ | |/ / |/| |
| * | Add selection getter methods to `LineEdit` Yuri Roubinsky2021-09-242-0/+20
| | |
* | | Merge pull request #53189 from AnilBK/use-class-specific-funcsRémi Verschelde2021-09-295-12/+8
|\ \ \
| * | | Use functions defined in the their classes.Anilforextra2021-09-295-12/+8
| | | |
* | | | Merge pull request #53186 from groud/tiles_fixesRémi Verschelde2021-09-291-6/+23
|\ \ \ \
| * | | | Various tiles-related fixesGilles Roudière2021-09-281-6/+23
| | | | |
* | | | | Merge pull request #52754 from nekomatata/dynamic-body-modesCamille Mohr-Daurat2021-09-287-99/+180
|\ \ \ \ \ | |_|_|_|/ |/| | | | Clarify RigidDynamicBody modes
| * | | | Clarify RigidDynamicBody modesPouleyKetchoupp2021-09-167-99/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RigidDynamicBody modes are replaced with several properties to make their usage clearer: -lock_rotation: disable body's rotation (instead of MODE_LOCKED) -freeze: no gravity or forces (instead of MODE_STATIC and MODE_KINEMATIC) -freeze_mode: Static (can be only teleported) or Kinematic (can be animated) Also renamed MODE_DYNAMIC_LOCKED to MODE_DYNAMIC_LINEAR in the physics servers.
* | | | | Set stop on slope on by default on CharacterBody.fabriceci2021-09-282-2/+2
| | | | |
* | | | | Merge pull request #53174 from fabriceci/apply-delta-move-and-collideCamille Mohr-Daurat2021-09-282-8/+20
|\ \ \ \ \ | | | | | | | | | | | | Physic API change: apply the delta in move and collide like move and slide
| * | | | | Apply delta in move and collidefabriceci2021-09-282-8/+20
| | |_|/ / | |/| | |
* | | | | Merge pull request #53180 from boruok/4.0-fix-atlas-texture-return-nullRémi Verschelde2021-09-282-0/+10
|\ \ \ \ \
| * | | | | 4.0 fix atlas texture return nullboruok2021-09-282-0/+10
| | | | | |
* | | | | | Merge pull request #53177 from fabriceci/sync-to-physics-true-animatable-bodyRémi Verschelde2021-09-282-2/+2
|\ \ \ \ \ \
| * | | | | | Sync to physics true by default for AnimatableBodyfabriceci2021-09-282-2/+2
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #53173 from jmb462/fix-tree-column-title-min-sizeRémi Verschelde2021-09-281-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix tree title column size minimum widthjmb4622021-09-281-1/+1
| | |_|/ / | |/| | |
* | | | | Merge pull request #53154 from drcd1/fix-sphere-normalsRémi Verschelde2021-09-281-1/+1
|\ \ \ \ \
| * | | | | Fixes the normals of SphereMesh when the radius is different from 1Duarte David2021-09-281-1/+1
| | | | | |
* | | | | | Merge pull request #52953 from nekomatata/fix-collision-recovery-depthRémi Verschelde2021-09-283-15/+23
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Improved logic for CharacterBody collision recovery depthPouleyKetchoupp2021-09-273-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows 2D character controller to work without applying gravity when touching the ground (also more safely in 3D), and collision detection is more flexible with different safe margin values. Character body motion changes in 2D and 3D: -Recovery only for depth > min contact depth to help with collision detection consistency (rest info could be lost if recovery was too much) -Adaptive min contact depth (based on margin) instead of space parameter Extra CharacterBody changes: -2D: apply changes made in 3D for stop on slope and floor snap that help fixing some jittering cases -3D: fix minor inconsistencies in stop on slope and floor snap logic
* | | | | | Merge pull request #53001 from floppyhammer/fix-tree-item-widthRémi Verschelde2021-09-282-43/+83
|\ \ \ \ \ \
| * | | | | | Fix minimum size of TreeItemfloppyhammer2021-09-262-43/+83
| | | | | | |
* | | | | | | Merge pull request #53153 from Duroxxigar/fix-bone-attachment-typoRémi Verschelde2021-09-281-1/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Fixed typo in bone attachment warningDuroxxigar2021-09-271-1/+1
| |/ / / / /
* | | | | | QuadMesh remove format ARRAY_FORMAT_INDEXBrian Semrau2021-09-272-0/+8
| | | | | |
* | | | | | Validate before passing indices to meshoptimizerHaoyu Qiu2021-09-271-0/+1
| | | | | |
* | | | | | Merge pull request #53100 from KoBeWi/fix_them_tiles_2-layer_count_of_oblivionGilles Roudière2021-09-271-1/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix TileMap layer loading
| * | | | | | Fix TileMap layer loadingkobewi2021-09-271-1/+13
| | | | | | |
* | | | | | | Merge pull request #53091 from AnilBK/merge-duplicatesRémi Verschelde2021-09-272-54/+28
|\ \ \ \ \ \ \
| * | | | | | | Merge duplicate branch conditions to one.Anilforextra2021-09-262-54/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use SWAP template for swapping values.
* | | | | | | | Fix LineEdit and TextEdit double-click and triple-click selectionjmb4622021-09-263-7/+14
| |/ / / / / / |/| | | | | |