You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
societer/utils/camera/CamBase.tscn

30 lines
1.2 KiB

[gd_scene load_steps=5 format=2]
[ext_resource path="res://utils/camera/SelectionBox.gd" type="Script" id=1]
[ext_resource path="res://utils/camera/CamBase.gd" type="Script" id=2]
[ext_resource path="res://utils/camera/CameraController.gd" type="Script" id=3]
[ext_resource path="res://utils/camera/CameraInput.gd" type="Script" id=4]
[node name="CamBase" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 0.0238738, 0.999715, 0, -0.999715, 0.0238738, 0, 0, 16.935 )
script = ExtResource( 2 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 0.910272, -0.41401, 0, 0.41401, 0.910272, 0, 0, 6.618 )
size = 20.0
near = 0.01
far = 8192.0
script = ExtResource( 3 )
[node name="Node" type="Node" parent="Camera"]
script = ExtResource( 4 )
[node name="SelectionBox" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 1 )
[connection signal="on_change_action" from="Camera/Node" to="Camera" method="change_action"]
[connection signal="on_change_velocity" from="Camera/Node" to="Camera" method="change_velocity"]
[connection signal="on_rotate_view" from="Camera/Node" to="Camera" method="rotate_view"]
[connection signal="on_zoom" from="Camera/Node" to="Camera" method="zoom"]