update visual, add stones collision
This commit is contained in:
+8
-12
@@ -1,10 +1,7 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bpq8lf4mcvhw5"]
|
||||
[gd_scene format=3 uid="uid://bpq8lf4mcvhw5"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Player.gd" id="1_player"]
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_1"]
|
||||
radius = 0.4
|
||||
height = 1.0
|
||||
[ext_resource type="Script" uid="uid://beqb88qvr2lk0" path="res://scripts/Player.gd" id="1_player"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://d2cd02gb8dsor" path="res://assets/player.obj" id="2_v6fml"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(0.2, 0.55, 1, 1)
|
||||
@@ -15,16 +12,15 @@ roughness = 0.6
|
||||
radius = 0.4
|
||||
height = 1.0
|
||||
|
||||
[node name="Player" type="CharacterBody3D"]
|
||||
[node name="Player" type="CharacterBody3D" unique_id=1013211477]
|
||||
script = ExtResource("1_player")
|
||||
|
||||
[node name="BodyMesh" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
mesh = SubResource("CapsuleMesh_1")
|
||||
[node name="BodyMesh" type="MeshInstance3D" parent="." unique_id=1038667614]
|
||||
material_override = SubResource("StandardMaterial3D_1")
|
||||
mesh = ExtResource("2_v6fml")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=754973203]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
||||
shape = SubResource("CapsuleShape3D_1")
|
||||
|
||||
[node name="KickIndicator" type="MeshInstance3D" parent="."]
|
||||
[node name="KickIndicator" type="MeshInstance3D" parent="." unique_id=1065321163]
|
||||
|
||||
Reference in New Issue
Block a user