godot/scene/2d
PouleyKetchoupp 6a9ed72185 Clean physics direct body state usage in 2D and 3D physics
Use a C++ callback instead of Callable for synchronizing physics nodes' state with physics servers.

Remove usage of PhysicsDirectBodyState in physics nodes when not
necessary.

Store PhysicsDirectBodyState for bodies individually instead of a
singleton to avoid issues when accessing direct body state for multiple
bodies.

PhysicsDirectBodyState is initialized only when needed, so it doesn't
have to be created when using the physics server directly.

Move PhysicsDirectBodyState2D and PhysicsDirectBodyState3D to separate
cpp files.
2021-08-25 08:57:42 -07:00
..
animated_sprite_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
animated_sprite_2d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
area_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
area_2d.h Merge pull request #42742 from madmiraal/fix-12215 2021-05-18 20:00:48 +02:00
audio_stream_player_2d.cpp Implement NativeExtension pointer arguments 2021-08-23 19:58:40 -03:00
audio_stream_player_2d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
back_buffer_copy.cpp Initialize class variables with default values in scene/ [1/2] 2021-02-07 22:29:31 +01:00
back_buffer_copy.h Initialize class variables with default values in scene/ [1/2] 2021-02-07 22:29:31 +01:00
camera_2d.cpp fixed camera2d's "current" property getting reset when switching scenes 2021-08-19 15:19:19 +02:00
camera_2d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
canvas_group.cpp Use real_t in non-physics 2D nodes 2021-03-19 13:04:45 -04:00
canvas_group.h Use real_t in non-physics 2D nodes 2021-03-19 13:04:45 -04:00
canvas_modulate.cpp Rename instance()->instantiate() when it's a verb 2021-06-19 20:49:18 -06:00
canvas_modulate.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
collision_object_2d.cpp Entirely removes BIND_VMETHOD in favor of GDVIRTUAL 2021-08-23 08:10:13 -03:00
collision_object_2d.h Entirely removes BIND_VMETHOD in favor of GDVIRTUAL 2021-08-23 08:10:13 -03:00
collision_polygon_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
collision_polygon_2d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
collision_shape_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
collision_shape_2d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
cpu_particles_2d.cpp moved particle parameters to minmax and split scale axis 2021-08-22 18:42:17 +02:00
cpu_particles_2d.h moved particle parameters to minmax and split scale axis 2021-08-22 18:42:17 +02:00
gpu_particles_2d.cpp moved particle parameters to minmax and split scale axis 2021-08-22 18:42:17 +02:00
gpu_particles_2d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
joints_2d.cpp Use get_global_* functions instead of using transforms. 2021-08-14 14:01:57 +05:45
joints_2d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
light_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
light_2d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
light_occluder_2d.cpp Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
light_occluder_2d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
line_2d.cpp Line2D::set_point_position Fail if passed index is out of bounds 2021-02-21 13:50:11 +01:00
line_2d.h Initialize class variables with default values in scene/ [1/2] 2021-02-07 22:29:31 +01:00
line_builder.cpp Remove unused swap template. 2021-08-12 16:58:03 +05:45
line_builder.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
mesh_instance_2d.cpp Fixed a bunch of connection errors in TextureEditorPlugin 2021-06-12 08:01:02 +03:00
mesh_instance_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
multimesh_instance_2d.cpp Fixed a bunch of connection errors in TextureEditorPlugin 2021-06-12 08:01:02 +03:00
multimesh_instance_2d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
navigation_agent_2d.cpp Use get_global_* functions instead of using transforms. 2021-08-14 14:01:57 +05:45
navigation_agent_2d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
navigation_obstacle_2d.cpp Use get_global_* functions instead of using transforms. 2021-08-14 14:01:57 +05:45
navigation_obstacle_2d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
navigation_region_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
navigation_region_2d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
node_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
node_2d.h Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
parallax_background.cpp Use real_t in non-physics 2D nodes 2021-03-19 13:04:45 -04:00
parallax_background.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
parallax_layer.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
parallax_layer.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
path_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
path_2d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
physical_bone_2d.cpp Add support for controlling physics nodes' behavior when disabled 2021-06-30 09:20:44 -07:00
physical_bone_2d.h Initialize PhysicalBone2D::parent_skeleton 2021-06-13 12:10:11 +08:00
physics_body_2d.cpp Clean physics direct body state usage in 2D and 3D physics 2021-08-25 08:57:42 -07:00
physics_body_2d.h Clean physics direct body state usage in 2D and 3D physics 2021-08-25 08:57:42 -07:00
polygon_2d.cpp Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
polygon_2d.h Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
position_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
position_2d.h Use real_t in non-physics 2D nodes 2021-03-19 13:04:45 -04:00
ray_cast_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
ray_cast_2d.h Uniformize layer names, script methods and documentation 2021-08-12 08:06:42 -07:00
remote_transform_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
remote_transform_2d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
skeleton_2d.cpp Use get_global_* functions instead of using transforms. 2021-08-14 14:01:57 +05:45
skeleton_2d.h Some work on double support 2021-08-09 17:43:48 -05:00
sprite_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
sprite_2d.h Change frame_coords to Vector2i 2021-05-23 21:38:27 +02:00
tile_map.cpp Merge pull request #51259 from nekomatata/fix-tilemap-one-way-collision 2021-08-23 18:54:01 +02:00
tile_map.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
touch_screen_button.cpp Entirely removes BIND_VMETHOD in favor of GDVIRTUAL 2021-08-23 08:10:13 -03:00
touch_screen_button.h Entirely removes BIND_VMETHOD in favor of GDVIRTUAL 2021-08-23 08:10:13 -03:00
visible_on_screen_notifier_2d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
visible_on_screen_notifier_2d.h Rename VisibilityNotifierXD to VisibleOnScreenNotifierXD 2021-06-16 22:01:39 -03:00