30 lines
988 B
Plaintext
30 lines
988 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://bear_scene_v1"]
|
|
|
|
[ext_resource type="Script" path="res://bear.gd" id="1_beargd"]
|
|
[ext_resource type="PackedScene" uid="uid://cofv5dbavesis" path="res://Assets/Bear.glb" id="2_bearglb"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
|
|
radius = 1.0
|
|
height = 2.4
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_hit"]
|
|
radius = 1.3
|
|
height = 2.7
|
|
|
|
[node name="Bear" type="CharacterBody3D"]
|
|
script = ExtResource("1_beargd")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2, 0)
|
|
shape = SubResource("CapsuleShape3D_body")
|
|
|
|
[node name="HitArea" type="Area3D" parent="."]
|
|
monitoring = true
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35, 0)
|
|
shape = SubResource("CapsuleShape3D_hit")
|
|
|
|
[node name="bear_model" parent="." instance=ExtResource("2_bearglb")]
|