virtualx-engine/scene/2d
Marcel Admiraal 750f343e4a Ensure move_and_slide() is consistent between the 2D and 3D versions.
In the 3D version:
- Partially revert #20908 that was reverted in the 2D version as part
  of #21653. This ensures that the Vector returned is always perpendicular
  to the surface collided with; and not the floor_normal Vector passed to
  the function when on a floor.
- Include an update of the floor velocity before multiplying by the time
  delta, which was added to the 2D version as part of commit 13a8014.

In the 2D version:
- Use the Vector2.slide() function instead of Vector2.tangent() to adjust
  the amount of motion the stop_on_slope undoes to ensure that it is in the
  right direction. This is a implementation of the 3D approach from #30588.
- Combine the !found_collision and motion == Vector2() checks for break.
- Other minor formating changes to make the functions look identical.

Also renamed some variables to align with their use.
2019-12-02 08:35:50 +01:00
..
animated_sprite.cpp Merge pull request #31943 from codecustard/Fixes_invalid_frames_on_reverse_anim 2019-10-27 09:55:44 +01:00
animated_sprite.h Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
area_2d.cpp Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
area_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
audio_stream_player_2d.cpp Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
audio_stream_player_2d.h Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
back_buffer_copy.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
back_buffer_copy.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
camera_2d.cpp Tweaks related to Camera2D drag margins 2019-08-06 16:19:02 +02:00
camera_2d.h Tweaks related to Camera2D drag margins 2019-08-06 16:19:02 +02:00
canvas_item.cpp Merge pull request #32934 from ajweeks/fix-scale-origin 2019-10-30 12:04:10 +01:00
canvas_item.h Merge pull request #32934 from ajweeks/fix-scale-origin 2019-10-30 12:04:10 +01:00
canvas_modulate.cpp Don't modulate canvas on invisible color change 2019-05-24 13:10:21 +02:00
canvas_modulate.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
collision_object_2d.cpp fix kinematicBody2D jitters when sync_to_physics is turned on, closes #28181 2019-09-23 20:01:01 +08:00
collision_object_2d.h fix kinematicBody2D jitters when sync_to_physics is turned on, closes #28181 2019-09-23 20:01:01 +08:00
collision_polygon_2d.cpp Added release function to PoolVector::Access. 2019-07-06 12:04:27 +01:00
collision_polygon_2d.h -Re-added margins in one way collision (made in a more user friendly way than in Godot 2.1), fixes #23860 2019-01-18 14:15:05 -03:00
collision_shape_2d.cpp Improve 2D RayCast and one-way collision drawing 2019-07-12 23:50:38 +02:00
collision_shape_2d.h Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
cpu_particles_2d.cpp Fixed disconnecting not connected signal 2019-10-29 00:53:48 +01:00
cpu_particles_2d.h Fixed delay when CPUParticles & CPUParticles2D start being emitted 2019-10-20 09:50:00 +02:00
joints_2d.cpp Merge pull request #32896 from nekomatata/joint-reset-collision 2019-10-22 12:52:12 +02:00
joints_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
light_2d.cpp Improve the node configuration warning display 2019-07-09 00:18:00 +02:00
light_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
light_occluder_2d.cpp Improve the node configuration warning display 2019-07-09 00:18:00 +02:00
light_occluder_2d.h Merge pull request #24171 from YeldhamDev/occluder_polygon_grab 2019-04-15 16:10:48 -03:00
line_2d.cpp Merge pull request #28565 from CedNaru/CurvedWidthLine2D 2019-07-01 09:38:54 +02:00
line_2d.h Merge pull request #28565 from CedNaru/CurvedWidthLine2D 2019-07-01 09:38:54 +02:00
line_builder.cpp Fix misc. source comment typos 2019-09-19 14:36:52 -04:00
line_builder.h Added a Width Curve to Line2D + UVs fix 2019-06-19 15:44:07 +02:00
mesh_instance_2d.cpp Properly add "texture_changed" signal to MeshInstance2D 2019-06-02 23:51:44 -03:00
mesh_instance_2d.h Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
multimesh_instance_2d.cpp added MultiMeshInstance2D node for using MultiMesh in 2D 2019-06-03 12:11:54 -07:00
multimesh_instance_2d.h added MultiMeshInstance2D node for using MultiMesh in 2D 2019-06-03 12:11:54 -07:00
navigation_2d.cpp Replace vector == and is_zero_approx(distance) with is_equal_approx 2019-10-14 16:47:42 -04:00
navigation_2d.h Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
navigation_polygon.cpp Changed some code found by Clang Tidy and Coverity 2019-09-22 18:45:08 +02:00
navigation_polygon.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
node_2d.cpp Altered rotation_degrees range 2019-09-30 20:43:57 +05:30
node_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
parallax_background.cpp Ability to make CanvasLayers have pseudo 3D depth. 2019-04-05 10:25:51 -03:00
parallax_background.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
parallax_layer.cpp Fixed error in ParallaxLayer when set_mirroring is called before entering the tree 2019-08-14 13:21:22 +02:00
parallax_layer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
particles_2d.cpp Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
particles_2d.h Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
path_2d.cpp Remove unnecessary bounded_offset from PathFollow2D 2019-11-30 03:16:33 +01:00
path_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_texture.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_texture.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
physics_body_2d.cpp Ensure move_and_slide() is consistent between the 2D and 3D versions. 2019-12-02 08:35:50 +01:00
physics_body_2d.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
polygon_2d.cpp Altered rotation_degrees range 2019-09-30 20:43:57 +05:30
polygon_2d.h Updat polygons when skeleton setup changes, fixes #25949 2019-02-16 20:08:17 -03:00
position_2d.cpp Use the same axis colors consistently in the 2D and 3D editors 2019-09-13 14:08:41 +02:00
position_2d.h Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
ray_cast_2d.cpp Improve 2D RayCast and one-way collision drawing 2019-07-12 23:50:38 +02:00
ray_cast_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
remote_transform_2d.cpp Added force_update_cache() to RemoteTransform and RemoteTransform2D 2019-07-09 14:50:03 +02:00
remote_transform_2d.h Added force_update_cache() to RemoteTransform and RemoteTransform2D 2019-07-09 14:50:03 +02:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
skeleton_2d.cpp Improve the node configuration warning display 2019-07-09 00:18:00 +02:00
skeleton_2d.h Made use of semicolons more consitent, fixed formatting 2019-06-19 15:24:31 +02:00
sprite.cpp Auto-increment frame_coords when keying 2019-10-22 20:12:55 +02:00
sprite.h Update TextureRect and Sprite when their Texture is modified directly. 2019-10-05 17:32:46 +02:00
tile_map.cpp Fix some overflows and unitialized variables 2019-11-20 16:22:16 +01:00
tile_map.h Fix some issue with TileMap's and other nodes' boundaries 2019-07-08 12:35:52 +03:00
touch_screen_button.cpp Revert "Fixed TouchScreenButton::shape_centered having no effect" 2019-11-08 10:54:36 +01:00
touch_screen_button.h Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
visibility_notifier_2d.cpp Improve the node configuration warning display 2019-07-09 00:18:00 +02:00
visibility_notifier_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
y_sort.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
y_sort.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00