We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f55923 commit fddd48bCopy full SHA for fddd48b
scene/2d/box2d_physics_body.cpp
@@ -357,7 +357,7 @@ void Box2DPhysicsBody::_notification(int p_what) {
357
set_process_internal(false);
358
} break;
359
360
- case NOTIFICATION_LOCAL_TRANSFORM_CHANGED: {
+ case NOTIFICATION_TRANSFORM_CHANGED: {
361
Mode type = get_type();
362
Transform2D new_xform = get_box2dworld_transform();
363
@@ -1183,7 +1183,7 @@ bool Box2DPhysicsBody::is_sync_to_physics_enabled() const {
1183
1184
Box2DPhysicsBody::Box2DPhysicsBody() {
1185
set_physics_process_internal(true);
1186
- set_notify_local_transform(true);
+ set_notify_transform(true);
1187
}
1188
1189
Box2DPhysicsBody::~Box2DPhysicsBody() {
0 commit comments