summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2018-09-06Add a function to force transform update, fixes #17628Juan Linietsky
2018-09-06Update FOV if edited in gizmo, fixes #16400Juan Linietsky
2018-09-05Merge pull request #21707 from JFonS/fix_instanced_selectionRémi Verschelde
Fix selection of instanced scenes in 3D
2018-09-04Move ParticlesMaterial code to its own resource fileRémi Verschelde
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense to have as a common resource. It also allowed to disable compilation of Particles (3D) when using 'disable_3d'. Also cleaned up includes in SpatialEditorGizmos and some other places, as well as dropped dead code in material_editor_plugin.cpp.
2018-09-02Fix selection of instanced scenes in 3DJFonS
2018-09-02PhysicsBody: Don't create PhysicsMaterial override for default friction/bounceRémi Verschelde
And don't save physics_material_override if null.
2018-09-01Improve ClassDB information for some some signal parametersKelly Thomas
2018-08-29Add missing copyright headersRémi Verschelde
2018-08-29Ported CPU particles to 2DJuan Linietsky
2018-08-29Physics: Properly obsolete friction and bounce propertiesRémi Verschelde
Without this change any new PhysicsBody would show deprecation warnings due to default values for friction and bounce being defined. It also enforced a physics material override even when using default values.
2018-08-29Fix vformat(), minor typos and word puzzlesYuri Chornoivan
2018-08-24Particles: Allow speed_scale at 0 in property hint, equivalent to pauseRémi Verschelde
Supersedes and closes #21193.
2018-08-24Merge pull request #21049 from AndreaCatania/jointsRémi Verschelde
Improved 6DOF joint implementation
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-23Add missing BIND_ENUM_CONSTANT to ClippedCameraMarcelo Fernandez
2018-08-23Switched AnimatedTexture to a readers-writers lock, solves a race condition ↵Juan Linietsky
and fixes #20221
2018-08-22Restrict set_pitch_scale to positive scales for AudioStreamPlayer*Chaosus
Fixes #20459. Co-authored-by: Tiago José Sousa Magalhães <crakylps@gmail.com>
2018-08-21Changes to ClippedCamera, RayCast,Raycast2D and 2D physics API to add ↵Juan Linietsky
ability to choose between bodies and areas when colliding.
2018-08-21Merge pull request #21266 from AndreaCatania/masterJuan Linietsky
Added area / body collision exception in raycast
2018-08-21Added ray / shape / point / motion / rest cast exclusion of area and or bodyAndrea Catania
2018-08-21Clipped camera implementation, a camera that avoids going into geometry.Juan Linietsky
2018-08-20Merge pull request #18822 from QbieShay/masterJuan Linietsky
Added spring arm node
2018-08-20Massive rewrite to AnimationTree. Many APIs changed in order to:Juan Linietsky
-Reuse resources -Expose properties in AnimationTree
2018-08-19Added ray shape and move_and_slide with snapping on 3D.Andrea Catania
Added stop_on_slope on 2d part
2018-08-18Improved move_and_slide function to stay on slope and fall on steep slopeAndrea Catania
2018-08-18added spring arm node.QbieShay
2018-08-16Added possibility to create joints with only one bodyAndrea Catania
2018-08-12Expose PhysicalBone::get_bone_id() to c#/gdscriptoisincar
2018-08-10Merge pull request #20072 from RandomShaper/fix-camera-offsetsJuan Linietsky
Fix camera offsets not applied always
2018-08-10apply a threshold for floor angle, fixes #16037, fixes #15632Juan Linietsky
2018-08-09New gizmo structure and new gizmo disabling menuJFonS
2018-08-07Merge pull request #20381 from AndreaCatania/phymat_2Juan Linietsky
Improved Physics material
2018-08-07Removed physics material combination mode. Added rough and absorbent ↵Andrea Catania
parameter to material. Fixed 'change' signal connection
2018-08-07Several improvements to inspector.Juan Linietsky
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3) -Some clean ups with fonts and styles
2018-08-06Respect process order for out of order skeleton bones (fixes GLTF2 import ↵Juan Linietsky
issues).
2018-08-04Merge pull request #18699 from AndreaCatania/ikJuan Linietsky
Inverse kinematic
2018-08-04Implemented IKAndreaCatania
2018-08-03Fixed SoftBody pinned point offset calculationAndrea Catania
2018-07-30Merge pull request #20550 from AndreaCatania/soft_fixMax Hilbrunner
Soft Body - Pin Point fix, Material fix
2018-07-29Add extra functions to toggle bits in visualinstance and camera, same as ↵Juan Linietsky
physics. Helps with #6685
2018-07-29SoftBody add MeshInstance Material correctlyAndrea Catania
2018-07-28Fixed Softbody pin pointAndrea Catania
2018-07-27Fix PhysicsBody build with deprecated=noRémi Verschelde
Fixes #20483.
2018-07-27Rename flag to better nameJuan Linietsky
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