1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00

Physics Interpolation - add support for CPUParticles2D

Similar to the existing 3D CPUParticles physics interpolation.
This commit is contained in:
lawnjelly
2023-07-11 11:45:23 +01:00
parent b776cf5498
commit a117a3307a
11 changed files with 371 additions and 179 deletions

View File

@@ -995,6 +995,7 @@ public:
bool light_masked : 1;
bool on_interpolate_transform_list : 1;
bool interpolated : 1;
bool ignore_parent_xform : 1;
mutable bool custom_rect : 1;
mutable bool rect_dirty : 1;
mutable bool bound_dirty : 1;
@@ -1236,6 +1237,7 @@ public:
update_when_visible = false;
on_interpolate_transform_list = false;
interpolated = true;
ignore_parent_xform = false;
local_bound_last_update_tick = 0;
}
virtual ~Item() {