summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2021-10-01Merge pull request #53311 from nekomatata/soft-body-remove-mesh-referenceCamille Mohr-Daurat
Remove scene code in physics servers
2021-10-01Remove scene code in physics serversPouleyKetchoupp
Replaced Mesh with mesh RID in Godot Physics 3D and Bullet.
2021-10-01Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg
interface.
2021-10-01Merge pull request #52684 from Frixuu/masterRémi Verschelde
2021-10-01Merge pull request #53208 from timothyqiu/headless-crashRémi Verschelde
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Merge pull request #53266 from nekomatata/remove-shape-metadataCamille Mohr-Daurat
Remove shape metadata from 2D physics server
2021-09-30Merge pull request #52544 from JFonS/lod_fixesJuan Linietsky
Auto LOD fixes and improvements
2021-09-30Remove shape metadata from 2D physics serverPouleyKetchoupp
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.
2021-09-29Rename RID's `getornull()` to `get_or_null()`Hugo Locurcio
2021-09-29radial fog fixManuel Dun
2021-09-29Don't memcpy to nullptr even if length is zeroHaoyu Qiu
2021-09-29Merge pull request #53199 from Geometror/fix-skeleton2dRémi Verschelde
2021-09-29Fix crash in headless modeHaoyu Qiu
2021-09-28Merge pull request #52754 from nekomatata/dynamic-body-modesCamille Mohr-Daurat
Clarify RigidDynamicBody modes
2021-09-29Fix editor freeze when asigning Skeleton2D to Polygon2DHendrik Brucker
2021-09-28Merge pull request #53072 from CaptainProton42/fix-gpuparticles3d-generate-aabbRémi Verschelde
2021-09-28Merge pull request #52864 from BastiaanOlij/xr_extension_return_buffersBastiaan Olij
Fix access to render target texture for XR interfaces
2021-09-28Merge pull request #52953 from nekomatata/fix-collision-recovery-depthRémi Verschelde
2021-09-28Fix access to render target texture for XR interfacesBastiaan Olij
2021-09-27Improved logic for CharacterBody collision recovery depthPouleyKetchoupp
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
2021-09-27Auto LOD fixes and improvementsjfons
* Fixed LODs for shadow meshes. * Added a merging step before simplification. This helps with tesselated meshes that were previously left untouched. The angle difference at wich edges ar considered "hard" can be tweaked as an import setting. * LODs will now start with the highest decimation possible and keep doubling (approximately) the number of triangles from there. This makes sure that very low triangle counts are included when possible. * Given more weight to normal preservation. * Modified MeshOptimizer to report distance-based error instead of including attributes in the reported metrics. * Added attribute transference between the original mesh and the various LODs. Right now only normals are taken into account, but it could be expanded to other attributes in the future.
2021-09-26Fix GPUParticles3D local_coordsCaptainProton42
2021-09-26Fix GPUParticles3D generate AABBCaptainProton42
2021-09-25Construct values only when necessary.Anilforextra
2021-09-24Merge pull request #52967 from danger-dan/dev_vehicle_sleep_fixRémi Verschelde
2021-09-24Added set_active(true) to all body direct state force apply/impulses. #52915Daniel
2021-09-23Construct values only when necessary.Anilforextra
2021-09-22Prevents editor crash when compare with negative float in shaderYuri Roubinsky
2021-09-22Port 2D improvement to move and slide 3Dfabriceci
Co-authored-by: Camille Mohr-Daurat <pouleyketchoup@gmail.com>
2021-09-21Merge pull request #52878 from AnilBK/add-get-centerRémi Verschelde
2021-09-21Add Get Center Method for Rect2/Rect2i and AABB.Anilforextra
2021-09-21Change to using doubles in XR classesBastiaan Olij
2021-09-21Add flag to connected grapheme. Apply RTL displacement FX only to the whole ↵bruvzg
connected grapheme. Pass more glyph info to the custom RTL FX.
2021-09-21Allow for mapping keycodes to current layoutFrixuu
2021-09-20Merge pull request #52545 from JFonS/occ_fixesRémi Verschelde
Occlusion culling fixes
2021-09-18Fix shader crash when passing array to built-in function without indexYuri Roubinsky
2021-09-17Replace Vector3.to_diagonal_matrix with Basis.from_scaleAaron Franke
2021-09-17Merge pull request #52409 from GiantBlargg/position-depth-pre-passRémi Verschelde
2021-09-16Clarify RigidDynamicBody modesPouleyKetchoupp
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.
2021-09-16Merge pull request #52668 from qarmin/cppcheck_servers_physicsCamille Mohr-Daurat
Initialize variables in servers/physics
2021-09-15Merge pull request #52679 from nekomatata/world-boundary-shapeCamille Mohr-Daurat
Rename WorldMarginShape to WorldBoundaryShape
2021-09-15Initialize variables in servers/physicsqarmin
2021-09-15[HTML5] Use browser mix rate by default on the Web.Fabio Alessandrelli
Browsers doesn't really like forcing the mix rate, e.g. Firefox does not allow input (microphone) if the mix rate is not the default one, Chrom* will exhibit worse performances, etc.
2021-09-14Rename WorldMarginShape to WorldBoundaryShapePouleyKetchoupp
2021-09-13Revert some URLs from the "Replace HTTP URLs with HTTPS" PRAaron Franke
2021-09-13Merge pull request #50375 from Paulb23/code_edit_unit_testsRémi Verschelde
2021-09-13Merge pull request #49063 from Calinou/remove-16x-msaaRémi Verschelde
Remove 16× MSAA support due to driver bugs and low performance
2021-09-13Merge pull request #51939 from clayjohn/VULKAN-horizon-so-fixRémi Verschelde
Compute horizon SO threshold before transformation
2021-09-12Merge pull request #51604 from TechnoPorg/fix-vulkan-parent-materialJFonS
Vulkan: Fix CanvasItem::use_parent_material