Trying 3D (tutorial)
This commit is contained in:
18
3d-tutorial/3d_squash_the_creeps_starter/player.tscn
Normal file
18
3d-tutorial/3d_squash_the_creeps_starter/player.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ceuu150fmggvr"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d0ypm0v45pwdv" path="res://art/player.glb" id="1_4flbx"]
|
||||
[ext_resource type="Script" uid="uid://cnd3r3qyfy5so" path="res://player.gd" id="1_onrkg"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_4flbx"]
|
||||
radius = 1.0
|
||||
|
||||
[node name="Player" type="CharacterBody3D"]
|
||||
script = ExtResource("1_onrkg")
|
||||
|
||||
[node name="Pivot" type="Node3D" parent="."]
|
||||
|
||||
[node name="Character" parent="Pivot" instance=ExtResource("1_4flbx")]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
shape = SubResource("SphereShape3D_4flbx")
|
||||
Reference in New Issue
Block a user