summaryrefslogtreecommitdiff
path: root/modules/bullet/godot_motion_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bullet/godot_motion_state.h')
-rw-r--r--modules/bullet/godot_motion_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bullet/godot_motion_state.h b/modules/bullet/godot_motion_state.h
index fa58e86589..5844ef8bf3 100644
--- a/modules/bullet/godot_motion_state.h
+++ b/modules/bullet/godot_motion_state.h
@@ -82,7 +82,7 @@ public:
virtual void setWorldTransform(const btTransform &worldTrans) {
bodyCurrentWorldTransform = worldTrans;
- owner->scratch();
+ owner->notify_transform_changed();
}
public: