You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
- Integrated NavigationServer and Navigation2DServer.
- Added Navigation Agents and Obstacles. - Integrated Collision Avoidance. This work has been kindly sponsored by IMVU.
This commit is contained in:
@@ -97,6 +97,10 @@ Rect2 CapsuleShape2D::get_rect() const {
|
||||
return rect;
|
||||
}
|
||||
|
||||
real_t CapsuleShape2D::get_enclosing_radius() const {
|
||||
return radius + height * 0.5;
|
||||
}
|
||||
|
||||
void CapsuleShape2D::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_radius", "radius"), &CapsuleShape2D::set_radius);
|
||||
|
||||
Reference in New Issue
Block a user