update
This commit is contained in:
@@ -51,11 +51,15 @@ func _ready() -> void:
|
||||
pivot.position.y = 1.5
|
||||
add_child(pivot)
|
||||
arm = SpringArm3D.new()
|
||||
arm.position.x = 0.75
|
||||
arm.spring_length = 6.5
|
||||
arm.margin = 0.3
|
||||
arm.margin = 0.2
|
||||
var arm_form := SphereShape3D.new()
|
||||
arm_form.radius = 0.45 # Kugel statt Strahl: die Kamera klemmt nicht in Wänden
|
||||
arm.shape = arm_form
|
||||
pivot.add_child(arm)
|
||||
arm.add_excluded_object(get_rid())
|
||||
cam = Camera3D.new()
|
||||
cam.position.x = 0.7 # Blick über die Schulter, am Ende des Arms
|
||||
cam.fov = 74.0
|
||||
arm.add_child(cam)
|
||||
set_mode(Mode.TRAUM)
|
||||
|
||||
Reference in New Issue
Block a user