mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Physics Interpolation - add support for CPUParticles2D
Similar to the existing 3D CPUParticles physics interpolation.
This commit is contained in:
@@ -304,7 +304,9 @@ void Node2D::set_transform(const Transform2D &p_transform) {
|
||||
_mat = p_transform;
|
||||
_xform_dirty = true;
|
||||
|
||||
VisualServer::get_singleton()->canvas_item_set_transform(get_canvas_item(), _mat);
|
||||
if (!_is_using_identity_transform()) {
|
||||
VisualServer::get_singleton()->canvas_item_set_transform(get_canvas_item(), _mat);
|
||||
}
|
||||
|
||||
if (!is_inside_tree()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user