Made Disc handled By Playert
Added Throw State (handle it better soon™️)
Added basic example animation that increases in speed as you move
21 lines
551 B
Plaintext
21 lines
551 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bm6vv074tk0nx"]
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_f68ox"]
|
|
top_radius = 0.25
|
|
bottom_radius = 0.25
|
|
height = 0.05
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_6l5gm"]
|
|
height = 0.05
|
|
radius = 0.25
|
|
|
|
[node name="Disc" type="RigidBody3D"]
|
|
collision_layer = 4
|
|
collision_mask = 5
|
|
|
|
[node name="Model" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("CylinderMesh_f68ox")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("CylinderShape3D_6l5gm")
|