Basic collision and Kinematics for player character

This commit is contained in:
yannk 2022-01-20 12:06:46 +01:00
parent e22326a01f
commit ebbd5ad9b0

17
player.tscn Normal file
View file

@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=3 uid="uid://cs8rlcwr3gu"]
[ext_resource type="PackedScene" uid="uid://b13h30ye7lv3t" path="res://character/character.tscn" id="1_718i0"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_w6qjk"]
radius = 0.220923
height = 2.83965
[node name="player" type="CharacterBody3D"]
[node name="Mesh" type="Node3D" parent="."]
[node name="character" parent="Mesh" instance=ExtResource( "1_718i0" )]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(0.999787, 0, 0, 0, 0.589349, 0, 0, 0, 0.371542, 0, 0.836561, 0)
shape = SubResource( "CapsuleShape3D_w6qjk" )