mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:15:45 +00:00
Fixed error for vision cone
This commit is contained in:
parent
c11acda1df
commit
c52013d0eb
1 changed files with 7 additions and 1 deletions
|
|
@ -23,6 +23,12 @@ var pending_resize := false
|
|||
|
||||
# Update size to initial state
|
||||
func _init() -> void:
|
||||
points = PackedVector3Array([
|
||||
Vector3(0, 0, 0),
|
||||
Vector3(0.01, 0, 0),
|
||||
Vector3(0, 0.01, 0),
|
||||
Vector3(0, 0, 0.01),
|
||||
])
|
||||
_request_resize()
|
||||
|
||||
# Will only resize once per frame, during idle time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue