Removed outdated TODO

This commit is contained in:
Rob Kelly 2024-12-17 15:23:27 -07:00
parent 27c33909bb
commit 5b0305df96
1 changed files with 0 additions and 1 deletions

View File

@ -180,7 +180,6 @@ func _get_gravity(point: Vector3) -> Vector3:
var point_local := point - area.global_position var point_local := point - area.global_position
var area_gravity: Vector3 var area_gravity: Vector3
if area.gravity_point: if area.gravity_point:
# TODO: `point` may need to be local
var v := area.transform * area.gravity_direction - point_local var v := area.transform * area.gravity_direction - point_local
if area.gravity_point_unit_distance > 0: if area.gravity_point_unit_distance > 0:
var v_sq := v.length_squared() var v_sq := v.length_squared()