Level 3
Using Level 3 to do a big art pass and get a lot of systems set up and cleaned up. Add Phantom Camera addon with comprehensive 2D/3D camera system
This commit is contained in:
1 parent
5ce882b53d
commit
2c6a395938
1122 files changed
+42103
-40
No files matched your search
@@ -0,0 +1,14 @@
|
||||
extends Area3D
|
||||
|
||||
@export var path_pcam: PhantomCamera3D
|
||||
|
||||
func _ready() -> void:
|
||||
area_shape_entered.connect(_area_shape_entered)
|
||||
area_shape_exited.connect(_area_shape_exited)
|
||||
|
||||
|
||||
func _area_shape_entered(area_rid: RID, area: Area3D, area_shape_index: int, local_shape_index: int) -> void:
|
||||
path_pcam.set_priority(20)
|
||||
|
||||
func _area_shape_exited(area_rid: RID, area: Area3D, area_shape_index: int, local_shape_index: int) -> void:
|
||||
path_pcam.set_priority(0)
|
||||
Reference in new issue
Block a user