summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2018-07-26Merge pull request #18955 from tagcup/fix_set_scaleRémi Verschelde
Removed incorrect Basis::set_scale().
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-24Modified RigidBody, PhysicsDirectBodyState, PhysicsServer, and their ↵Tiger Caldwell
respective 2D counterparts to be more consistent and to include more useful methods. RigidBody: - Added add_central_force - Added add_force - Added add_torque - Added apply_central_impulse RigidBody2D: - Added add_central_force - Added add_torque - Added apply_central_impulse - Added apply_torque_impulse PhysicsDirectBodyState: - Added apply_central_impulse Physics2DDirectBodyState: - Added add_central_force - Added add_force - Added add_torque - Added apply_central_impulse - Added apply_impulse - Added apply_torque_impulse PhysicsServer: - Added body_add_force - Added body_add_torque - Added body_add_central_force - Added body_apply_central_impulse Physics2DServer: - Added body_add_torque - Added body_add_central_force - Added body_apply_central_impulse - Added body_apply_torque_impulse Also fixed some small bugs along the way
2018-07-23Merge pull request #12678 from AndreaCatania/softJuan Linietsky
Soft body
2018-07-23Implemented Soft bodyAndreaCatania
- Soft Body Physics node - Soft Body Rendering - Soft body Editor - Soft body importer
2018-07-23Fix issues with CPUParticles and related conversion from Particles. Closes ↵Juan Linietsky
#20126
2018-07-23Merge pull request #12403 from AndreaCatania/phymatJuan Linietsky
Physics material
2018-07-18Several improvements to editor inspector usability and styleJuan Linietsky
2018-07-18Ability to disable scale in nodes, closes #19927Juan Linietsky
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde
2018-07-16-Added support for raycast in KinematicBody2DJuan Linietsky
-Added support for snapping in KinematicBody2D
2018-07-09Improved stream paused fade codeMarcelo Fernandez
2018-07-07Add option to convert Particles to CPUParticlesJuan Linietsky
2018-07-06Support for CPU based particles, which aids compatibility with OpenGL ES 2.0Juan Linietsky
2018-07-05Merge pull request #19646 from chanon/fix-audiostream-cant-set-null-streamMax Hilbrunner
Fix can't set AudioStreamPlayer stream to null
2018-07-03Merge pull request #19205 from marcelofg55/audio_stream_pauseMax Hilbrunner
Pause AudioStreamPlayer when SceneTree pauses
2018-07-03Merge pull request #19246 from xemjeff/physicsMax Hilbrunner
Hinge Joint Inspector - Change range for motor target velocity and params bias values
2018-07-02Removed two skeleton parameter from compilation width no 3dAndrea Catania
2018-07-01Merge pull request #19886 from AndreaCatania/no3dRémi Verschelde
Fixes #19845 no 3d Compilation issue
2018-07-01Fixes #19845 no 3d Compilation issueAndrea Catania
2018-07-01Fixes #19648 Kinematic body move_and_slide compatibility issueAndrea Catania
2018-06-27Changes to how node paths are selected from property, allowing setting a hint.Juan Linietsky
2018-06-24Fight off some error spam in the editorBastiaan Olij
2018-06-22fix can't set AudioStreamPlayer stream to nullchanon
2018-06-16Fix property hint for ReflectionProbe extentsRémi Verschelde
2018-06-13Merge pull request #19487 from JFonS/better_3d_selectRémi Verschelde
Improve 3D selection
2018-06-13Polished 3D selectionJFonS
2018-06-10updated some particlematerial propertiesclayjohn
2018-06-03Pause AudioStreamPlayers when SceneTree pausesMarcelo Fernandez
2018-05-29Issues #19203 and #19204Jeffs
- Hinge Joint Inspector: Motor target velocity range changed from [0,4096] to [-200,200] to allow for negative velocity and a reasonable range. Params bias now allows a zero value to prevent the bullet message of not supporting a non-zero bias.
2018-05-27Merge pull request #18691 from Web-eWorks/atlasfixesJuan Linietsky
Fix Sprite3d using AtlasTexture... Again.
2018-05-26Check for 0 roll influenceBastiaan Olij
2018-05-20Up vector implementation and OrientedPathFollow.danilo2205
2018-05-17Removed incorrect Basis::set_scale().tagcup
Also added a missing constructor in Basis, and fixed usage of inverse and affine inverse in Transform.
2018-05-17-Ability to open resources in the same windowJuan Linietsky
-Plenty of fixes and improvements to new inspector -Fixes that were needed to make inspector work better
2018-05-16Allow editing of some unbound properties when hinted (or no range hinted)Juan Linietsky
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-05-14Fixed some warnings found with Cppcheck.Michael Alexsander Silva Dias
2018-05-13Revert "Use fake audio playing property in editor"Hein-Pieter van Braam
2018-05-13Merge pull request #17367 from ShyRed/audio_playing_Hein-Pieter van Braam
Use fake audio playing property in editor
2018-05-11Implemented physics materialAndreaCatania
Hidden a function Fixed travis static check
2018-05-10Improved API to active / deactive ragdollAndrea Catania
2018-05-08Fix some enums missing its bindMarcelo Fernandez
2018-05-08Fix AtlasTexture usage in Sprite3D.Webster Sheets
Changes as requested in b484d5c.
2018-05-08Merge pull request #17559 from simedis/joint_motorsRémi Verschelde
Implemented interface for bullet linear motors
2018-05-07Merge pull request #11973 from AndreaCatania/ragdollJuan Linietsky
Ragdoll - Physical bone node
2018-05-07Implemented ragdollAndreaCatania
Implementing ragdoll Implementing ragdoll Implementing ragdoll Implementing ragdoll Implementing ragdoll a Implemented implicit hierarchy. Improved Added some physics properties Added bone offset to preserve COM, partially fixed scaling work in progress WIP wip Implemented Joint Gizmos Implemented pin joint joint Implemented all joints
2018-05-07Revert "Fix Sprite3D's incorrect behavior when using AtlasTextures."Juan Linietsky
2018-05-03Merge pull request #16359 from Noshyaar/convertRémi Verschelde
Particles: fix corrupted scene when saved after convert
2018-05-03Merge pull request #18572 from bzztbomb/fix/project_local_ray_normal_virtualRémi Verschelde
Fix for ARVRCamera::project_local_ray_normal not getting called.