summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2019-09-03Merge pull request #31476 from SoulForMachine/fix-move-and-slide-errorRémi Verschelde
Prevent move_and_slide() to generate an error.
2019-08-30Remove some unneeded checks in CollisionObject(2D)Michael Alexsander Silva Dias
2019-08-29Merge pull request #30635 from KoBeWi/billbo_3dnsRémi Verschelde
Add a Billboard property for Sprite3D
2019-08-28Add a Billboard property for Sprite3DTomasz Chabora
2019-08-27fix otherwise unitialized variables, found in #31694Robin Hübner
2019-08-26Prevent move_and_slide() to generate an error.Milan Davidovic
When moving KinematicBody2D from one scene to another and not freeing the old scene, the first call to move_and_slide() in the new scene will generate an error because KinematicBody2D keeps internaly a RID on_floor_body of a body resource in the old scene which no more has a space assigned. To fix this, on_floor_body is set to empty RID in response to NOTIFICATION_ENTER_TREE notification of KinematicBody2D and KinematicBody. Also all other data related to move_and_slide() is reset: floor, ceiling, wall flags, colliders vector, floor_velocity. This fixes #31416.
2019-08-23Merge pull request #31014 from DavidSichma/kinematic_angleRémi Verschelde
Fix floor_max_angle comparison for impossible angles
2019-08-21Draw 3D collision shape/raycast gizmos in grayscale when disabledHugo Locurcio
This makes them easier to distinguish from their enabled counterparts, as is already done in the 2D editor.
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-08-01Fix floor_max_angle comparison for impossible anglesDavid Sichma
2019-07-31Tweak Area and PhysicsBody damping setting hints for consistencyHugo Locurcio
This partially addresses #19182.
2019-07-27Add frame_cords accessors to Sprite and Sprite3Dgroud
2019-07-25Fix wrong placement of new line in 'PhysicsBody' warningMichael Alexsander Silva Dias
2019-07-25Merge pull request #30685 from jonri/vehicle-per-wheel-forcesRémi Verschelde
Vehicle per-wheel forces
2019-07-25Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde
This was a regression in 3.1 and later from the new inspector, where PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to be a normal PROPERTY_HINT_RANGE which also automatically increments its value when keyed in the animation player. To avoid code duplication, I made the frames properties use the actual PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS usage flag instead.
2019-07-22SCons: Fix uses of [].append instead of env.add_source_files()Rémi Verschelde
Also added support for SCons project-absolute paths (starting with #) and warning about duplicates in add_source_files(), and fixed default_controller_mappings.gen.cpp being included twice after first build due to *.cpp globbing. Part of #30270.
2019-07-20Merge pull request #30234 from zwostein/fix-AudioStreamPlayer3DRémi Verschelde
Fixed multichannel panning for AudioStreamPlayer3D.
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-18Add per-wheel throttle, brake, and steering for vehiclesJon Ring
2019-07-17Lower the default directional shadow maximum distance to 100Hugo Locurcio
With the default camera node settings, this makes directional shadows look consistent between the editor and the running project. The original issue occurs because the editor camera defaults to a Z-far value of 500, whereas the Camera node defaults to a Z-far value of 100. Since the directional shadow maximum distance is clamped to the Z-far value, it caused the running project's effective shadow distance to be lower compared to the editor (100 instead of 200). This partially addresses #13575.
2019-07-16Merge pull request #30548 from Calinou/tweak-audio-cutoff-property-hintsRémi Verschelde
Tweak audio cutoff property hints to allow reasonable values only
2019-07-14added individual particle random lifetimeclayjohn
2019-07-12Tweak audio cutoff property hints to allow reasonable values onlyHugo Locurcio
This also makes all cutoff property hints consistent. This closes #29588.
2019-07-09Merge pull request #30304 from DavidSichma/remote_cacheRémi Verschelde
Exposed update_cache() of RemoteTransform and RemoteTransform2D
2019-07-09Added force_update_cache() to RemoteTransform and RemoteTransform2DDavid Sichma
2019-07-09Merge pull request #30443 from Calinou/improve-node-configuration-warningsRémi Verschelde
Improve the node configuration warning display
2019-07-09Merge pull request #30404 from Calinou/add-spotlight-configuration-warningRémi Verschelde
Add a configuration warning when using ultrawide SpotLight with shadows
2019-07-09Add a configuration warning when using ultrawide SpotLight with shadowsHugo Locurcio
This partially addresses #12028.
2019-07-09Improve the node configuration warning displayHugo Locurcio
- Refer to properties explicitly when possible - When multiple warnings are returned, always separate them by one blank line to make them easier to distinguish - Improve grammar and formatting
2019-07-08Merge pull request #30407 from qarmin/small_fixessRémi Verschelde
Fixes minor issues found by static analyzer
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-07Merge pull request #30357 from simonpuchert/spheresRémi Verschelde
Particles / CPUParticles: Return uniform density spheres.
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
2019-07-06cpu_particles: Return uniform density spheres.Simon Puchert
The current implementation normalizes points from a uniform distribution on a cube. This creates a non-uniform distribution on the sphere.
2019-07-03Merge pull request #29988 from NathanWarden/lightmap_hint_sizeRémi Verschelde
Added a fallback size to the lightmap baker in case mesh lightmap hint sizes are 0,0
2019-07-02Updated lightmap baker to dynamically calculate lightmap sizes based on ↵Nathan Warden
surface area.
2019-07-02Fix various memory leaks and errorsBojidar Marinov
2019-07-02Merge pull request #26613 from KoBeWi/direction_of_particlesRémi Verschelde
Add a Direction property to ParticlesMaterial
2019-07-02Fixed multichannel panning for AudioStreamPlayer3D.zwostein
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde
Remove unnecessary code and add some error explanations
2019-07-01fix some crashesFurkan Türkal
2019-07-01Remove unnecessary code and add some error explanationsqarmin
2019-06-29Merge pull request #29380 from bojidar-bg/16086-docs-default-valueRémi Verschelde
Add default values to the editor help, docs, and generated RST
2019-06-27Merge pull request #29937 from clayjohn/particles-one-shot-bugRémi Verschelde
Update emitting status on one-shot particles
2019-06-27Add default values to the editor help, docs, and generated RSTBojidar Marinov
Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
2019-06-27doc: Complete and harmonize all _MAX constant descriptionsRémi Verschelde