generated from krampus/template-godot4
Removed outdated TODO
This commit is contained in:
parent
27c33909bb
commit
5b0305df96
|
@ -180,7 +180,6 @@ func _get_gravity(point: Vector3) -> Vector3:
|
|||
var point_local := point - area.global_position
|
||||
var area_gravity: Vector3
|
||||
if area.gravity_point:
|
||||
# TODO: `point` may need to be local
|
||||
var v := area.transform * area.gravity_direction - point_local
|
||||
if area.gravity_point_unit_distance > 0:
|
||||
var v_sq := v.length_squared()
|
||||
|
|
Loading…
Reference in New Issue