summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2021-10-09Fix missing argument names in bindingsRémi Verschelde
While at it, tweak some boolean setters to use `p_enabled` for the bool. Also renames `draw_minimap()` to `set_draw_minimap()`.
2021-10-07Merge pull request #53525 from Calinou/comments-replace-visual-serverRémi Verschelde
Replace references to VisualServer in code comments with RenderingServer
2021-10-07Replace references to VisualServer in code comments with RenderingServerHugo Locurcio
VisualServer no longer exists in the `master` branch.
2021-10-07Remove debugging print from the VoxelGI bakerHugo Locurcio
2021-10-07Use loop instead of recursion when clearing proximity groupsHaoyu Qiu
2021-10-06Merge pull request #53482 from timothyqiu/soft-body-readyCamille Mohr-Daurat
Re-prepare RenderingServer if SoftDynamicBody mesh changed
2021-10-06Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmoRémi Verschelde
Implement Skeleton Editor Gizmo
2021-10-07Implemented SkeletonEditorGizmoSilc Renew
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2021-10-06Re-prepare RenderingServer if SoftDynamicBody mesh changedHaoyu Qiu
2021-10-05Merge pull request #53051 from kleonc/animated-sprites-centered-renderingRémi Verschelde
2021-10-04Fix physics glitch with TileMap moving platformsPouleyKetchoupp
Added a parameter in test_body_motion to exclude attached objects from collision, used to avoid collision with all TileMap tiles with moving platform motion instead of just the one tile the character touches. Same changes made in 3D for consistency, and handling potential similar cases.
2021-10-04Merge pull request #53280 from nekomatata/test-body-motion-parametersRémi Verschelde
2021-10-04Merge pull request #53394 from TwistedTwigleg/Godot4_SkeletonIK_RegressionFixRémi Verschelde
2021-10-04Script interface improvements for test body motionPouleyKetchoupp
-Physics servers test body motion use a class to hold parameters instead of multiple arguments to make it more readable and flexible since there are many options -Improved documentation for test body motion and kinematic collision -Removed read-only properties for body motion results (not handled in scripts, so they should be get_ methods only instead)
2021-10-04Merge pull request #53354 from reduz/remove-clipped-cameraRémi Verschelde
2021-10-04Fixed SkeletonIK not rotating correctly when solvingTwistedTwigleg
2021-10-04Remove ClippedCamera3Dreduz
* Usage was always confusing for users * The ability to generate a pyramid shape was moved to Camera3D * SpringArm3D now casts using the camera pyramid shape if no shape is supplied.
2021-10-03GLTF for game templates.K. S. Ernest (iFire) Lee
Convert GLTF Document to use ImporterMeshInstance3D. Add a GLTFDocument extension list and an extension for converting the importer mesh instance 3d to mesh instance 3d. Use GLTF module when the editor tools are disabled. Modified the render server to be less restrictive on matching blend arrays and have more logging. Misc bugs with multimesh. Always index the meshes.
2021-10-03Fix rendering centered odd-size texture in AnimatedSprite2D/AnimatedSprite3Dkleonc
2021-10-01Rename Joint2D and Joint3D files for consistencyPouleyKetchoupp
Now matches the class names to be consistent between 2D and 3D and with other node types.
2021-10-01Merge pull request #53311 from nekomatata/soft-body-remove-mesh-referenceCamille Mohr-Daurat
Remove scene code in physics servers
2021-10-01Merge pull request #53302 from nekomatata/physics-bone-remove-editor-codeCamille Mohr-Daurat
Remove editor code in PhysicalBone3D
2021-10-01Remove scene code in physics serversPouleyKetchoupp
Replaced Mesh with mesh RID in Godot Physics 3D and Bullet.
2021-10-01Remove editor code in PhysicalBone3DPouleyKetchoupp
_set_gizmo_move_joint is only used in PhysicalBone3DEditor, so the editor plugin call can be done directly there.
2021-10-01Merge pull request #53208 from timothyqiu/headless-crashRémi Verschelde
2021-09-30Merge pull request #53272 from fabriceci/bug-platform-ceilingCamille Mohr-Daurat
Fix #53255 when a body gets stuck when it hits a descending platform in 2D/3D
2021-09-30Fix body stuck on descending platformfabriceci
2021-09-30Use range iterators for `Map`Lightning_A
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-30Merge pull request #53197 from nekomatata/fix-motion-direction-in-slopeCamille Mohr-Daurat
Fix motion direction in slope for CharacterBody3D
2021-09-30Fix motion direction in slope for CharacterBody3DPouleyKetchoupp
- 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
2021-09-30Merge pull request #53239 from nekomatata/fix-animatable-body-initial-stateRémi Verschelde
2021-09-29Fix AnimatableBody moving and colliding during the first framePouleyKetchoupp
_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.
2021-09-29Fix crash in headless modeHaoyu Qiu
2021-09-29Merge pull request #53189 from AnilBK/use-class-specific-funcsRémi Verschelde
2021-09-29Use functions defined in the their classes.Anilforextra
2021-09-28Merge pull request #52754 from nekomatata/dynamic-body-modesCamille Mohr-Daurat
Clarify RigidDynamicBody modes
2021-09-28Set stop on slope on by default on CharacterBody.fabriceci
2021-09-28Merge pull request #53174 from fabriceci/apply-delta-move-and-collideCamille Mohr-Daurat
Physic API change: apply the delta in move and collide like move and slide
2021-09-28Sync to physics true by default for AnimatableBodyfabriceci
2021-09-28Apply delta in move and collidefabriceci
2021-09-28Merge pull request #52953 from nekomatata/fix-collision-recovery-depthRémi Verschelde
2021-09-27Fixed typo in bone attachment warningDuroxxigar
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-25fix out of bounds crash in GPUParticle3D::_skinning_changed()LATRio
2021-09-23Merge pull request #51920 from ↵Rémi Verschelde
jmb462/missing-sname-macro-optimization-in-some-functions
2021-09-23Merge pull request #52956 from laws65/skeleton3d-bone-fixRémi Verschelde
2021-09-23Prevent being able to set bone's parent as itselflaws65
2021-09-22Don't override KinematicCollision reference when still in use in scriptPouleyKetchoupp
In case the reference is stored in script, create a new instance to avoid overriding the previous values. Otherwise, re-use the reference as before to avoid extra allocations.
2021-09-22Port 2D improvement to move and slide 3Dfabriceci
Co-authored-by: Camille Mohr-Daurat <pouleyketchoup@gmail.com>