diff options
author | Clay John <claynjohn@gmail.com> | 2022-10-28 10:57:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 10:57:46 -0700 |
commit | ada2661a2c58b64d3798f1022c7e44274d5d9f28 (patch) | |
tree | 52a8b7a54619a162fad90efcf5db50f027e94950 /scene | |
parent | e3b66ff9e36f2421736f521fe5f3ca21bfe7d6fa (diff) | |
parent | b9c3a5534b0bfe1717d8919dd2a25b5cf8d7b821 (diff) |
Merge pull request #67956 from RedMser/safe-velocity-type
Fix type of `safe_velocity` parameter
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/navigation_agent_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/navigation_agent_2d.cpp b/scene/2d/navigation_agent_2d.cpp index d345078c12..748fbbe2d1 100644 --- a/scene/2d/navigation_agent_2d.cpp +++ b/scene/2d/navigation_agent_2d.cpp @@ -104,7 +104,7 @@ void NavigationAgent2D::_bind_methods() { ADD_SIGNAL(MethodInfo("path_changed")); ADD_SIGNAL(MethodInfo("target_reached")); ADD_SIGNAL(MethodInfo("navigation_finished")); - ADD_SIGNAL(MethodInfo("velocity_computed", PropertyInfo(Variant::VECTOR3, "safe_velocity"))); + ADD_SIGNAL(MethodInfo("velocity_computed", PropertyInfo(Variant::VECTOR2, "safe_velocity"))); } void NavigationAgent2D::_notification(int p_what) { |