summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2021-05-11Fixes missng 2D engine bitsreduz
-Mesh2D now works -MultiMesh2D now works -Polygon2D now works -Added hooks for processing 2D particles -Skeleton2D now works 2D particles still not working, but stuff needed for it is now implemented.
2021-05-09Use the correct method in shape_owner_remove_shapetrollodel
2021-05-09Merge pull request #48175 from trollodel/collisionobject3d-no-miRémi Verschelde
Create CollisionObject3D debug shapes using RS
2021-05-08Fixes the SkeletonIK twisting issue by using the skeleton global pose ↵TwistedTwigleg
without overrides
2021-05-05Create CollisionObject3D debug shapes using RStrollodel
2021-05-01Fix documentation following implementation of particle trailsMarcel Admiraal
2021-04-30Implement Particle Trailsreduz
-Enable the trails and set the length in seconds -Provide a mesh with a skeleton and a skin -Or, alternatively use one of the built-in TubeTrailMesh/RibbonTrailMesh -Works deterministically -Fixed particle collisions (were broken) -Not working in 2D yet (that will happen next)
2021-04-30Prevent setting too big or too small Collision Mask and LayerRafał Mikrut
2021-04-28Merge pull request #48239 from akien-mga/goodbye-copymemRémi Verschelde
Core: Drop custom `copymem`/`zeromem` defines
2021-04-27Merge pull request #48050 from JFonS/occlusion_cullingRémi Verschelde
2021-04-27Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde
We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27Fix NavigationAgent3D not emitting "target_reached" Signalsmix8
Fix NavigationAgent3D not emitting "target_reached" Signal when reaching pathfinding target.
2021-04-27Merge pull request #38349 from asheraryam/convex-decompose-masterRémi Verschelde
Create GDScript bindings for creating multiple-convex collision bodies [4.0]
2021-04-27Expose creating multiple-convex-collision static bodies to GDScriptasheraryam
2021-04-23Implement occlusion cullingjfons
Added an occlusion culling system with support for static occluder meshes. It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`. Occluders are defined via the new `Occluder3D` resource and instanced using the new `OccluderInstance3D` node. The occluders can also be automatically baked from a scene using the built-in editor plugin.
2021-04-23Merge pull request #47485 from rafallus/fix/rigidbody-crashRémi Verschelde
Fix crash on RigidBody _direct_state_changed
2021-04-23Merge pull request #48028 from smix8/issue_47337_broken_navagent3d_callbackRémi Verschelde
2021-04-22Unexpose _direct_state_changed in PhysicsBodyrafallus
Removed _direct_state_changed bindings Affects 2D and 3D nodes Callbacks now use Callable Tests were changed accordingly
2021-04-20Move collision layer and mask into CollisionObject.Marcel Admiraal
2021-04-20Merge pull request #47991 from LightningAA/regroup-area-inspector-4.0Rémi Verschelde
`Area[X]D`: Put physics override parameters in their own group and document that areas can be used to influence audio
2021-04-19Fix broken NavigationAgent3D collision avoidance callbacksmix8
Fix broken NavigationAgent3D collision avoidance callback
2021-04-19Use multiple threads to import.Juan Linietsky
- For now everything imports multithreaded by default (should work I guess, let's test). - Controllable per importer Early test benchmark. 64 large textures (importing as lossless, _not_ as vram) on a mobile i7, 12 threads: Importing goes down from 46 to 7 seconds. For VRAM I will change the logic to use a compressing thread in a subsequent PR, as well as implementing Betsy.
2021-04-18Put physics override parameters in their own group and document that areas ↵Lightning_A
can be used to influence audio
2021-04-16Merge pull request #47923 from smix8/issue_47850_4.xRémi Verschelde
Fix Skeleton3D.clear_bones_global_pose_override() not resetting global_bone_overrides properly
2021-04-15Merge pull request #47933 from ↵Rémi Verschelde
TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix2 Changed SkeletonIK3D to clear bone overrides when stopping
2021-04-15Changed SkeletonIK3D to clear bone overrides when stoppingTwistedTwigleg
2021-04-15fix skeleton (ik) not resetting global_bone_overrides properlysmix8
fix skeleton (ik) not resetting global_bone_overrides properly
2021-04-15Fix forgotten rename on surface material overrideBastiaan Olij
2021-04-14Rename get_surface_material to get_surface_override_materialclayjohn
2021-04-12Fix crashes with CollisionObject debug shapesPouleyKetchoupp
MeshInstance added as child nodes for CollisionObject debug shapes can be invalidated while deleting the collision object (child nodes are deleted first), which caused accesses to invalid memory in shape_owner_remove_shape that lead to random crashes. Also optimized accesses to shapes to avoid copy-on-write on each iteration.
2021-04-11Use Array for node configuration warningsNathan Franke
Previously, the warnings were passed as a string and delimitation of which were hard coded at each implementation.
2021-04-07Merge pull request #47441 from ↵Rémi Verschelde
TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix2 Fix for SkeletonIK not working correctly with 0 interpolation and incorrectly rotating with animation
2021-04-05Style: Apply clang-tidy's `modernize-use-bool-literals`Rémi Verschelde
2021-04-03Merge pull request #47452 from BastiaanOlij/xr_positional_tracker_refRémi Verschelde
Change XRPositionalTracker to a reference (master)
2021-04-02Fix for SkeletonIK not working correctly with 0 interpolation and ↵TwistedTwigleg
incorrectly rotating with animation. Now the root bone rotates differently to ensure it always rotates correctly and works with BoneAttachment3D nodes.
2021-04-01Merge pull request #42827 from lyuma/rename_bones_blendshapesRémi Verschelde
Allow renaming bones and blendshapes.
2021-03-29Change XRPositionalTracker to a reference and better expose it to GDNativeBastiaan Olij
2021-03-28Rename Texture.get_data() to get_image()Marcel Admiraal
2021-03-20Merge pull request #46937 from nekomatata/soft-body-supportRémi Verschelde
SoftBody support in GodotPhysics 3D
2021-03-20Merge pull request #47001 from madmiraal/rename-sprite_2d-region_enabledRémi Verschelde
Rename Sprite.region_enabled getter and setter methods to match properties
2021-03-19Merge pull request #47151 from nekomatata/soft-body-attachment-errorRémi Verschelde
Fix spamming errors when SoftBody pinned nodes have no attachment
2021-03-18Fix spamming errors when SoftBody pinned nodes have no attachmentPouleyKetchoupp
There was a specific case where the node path wasn't checked for validity before trying to access the attachment node. It could cause lots of error log noise in both editor and game.
2021-03-18Fix for regression in SkeletonIK codeTwistedTwigleg
2021-03-18SoftBody support in GodotPhysics 3DPouleyKetchoupp
- Fixed SoftBody surface update with new rendering system - Added GodotPhysics implementation for SoftBody - Added support to get SoftBody rid to interact with the physics server - Added support to get SoftBody bounds from the physics server - Removed support for unused get_vertex_position and get_point_offset from the physics server - Removed SoftBody properties that are unused in both Bullet and GodotPhysics (angular and volume stiffness, pose matching) - Added RenderingServerHandler interface to PhysicsServer3D so the physics servers don't need to reference the class from SoftBody node directly
2021-03-17Merge pull request #47081 from nekomatata/collision-debug-shape-game-onlyRémi Verschelde
Disable debug collision shapes in the editor
2021-03-16Disable debug collision shapes in the editorPouleyKetchoupp
If the editor was started with --debug-collisions, 3d shapes were displayed twice, both with the gizmo and debug shapes. Some shapes could also persist after being removed due to the usage of queue_free() to destroy the debug shapes.
2021-03-16Move SpriteFrames to its own file in the resources folderAaron Franke
2021-03-14Rename Sprite.region_enabled getter and setter to match propertiesMarcel Admiraal
Also renames Sprite2D.region_filter_clip property and its setter to region_filter_clip_enabled and set_region_filter_clip_enabled.
2021-03-12Fixes small typos and grammar correctionAnshul7sp1
2021-03-12Merge pull request #40774 from TwistedTwigleg/SkeletonIK_Godot_4_0_FixesRémi Verschelde
SkeletonIK changes and bug fixes