boucy ball :)
This commit is contained in:
parent
c0c4a15434
commit
41ab1eabc0
6 changed files with 110 additions and 0 deletions
23
Scenes/Props/Physics/BouncyBall.tscn
Normal file
23
Scenes/Props/Physics/BouncyBall.tscn
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://djkey1lxtwepu"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bw1vjt61xyrs0" path="res://UI/PropIcons/BouncyBall.png" id="1_ujgbg"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_lbe82"]
|
||||
friction = 0.0
|
||||
bounce = 10.0
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_ly1my"]
|
||||
radius = 0.25
|
||||
|
||||
[node name="ShowroomChair" type="Node3D"]
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
||||
physics_material_override = SubResource("PhysicsMaterial_lbe82")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
||||
shape = SubResource("SphereShape3D_ly1my")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
|
||||
pixel_size = 0.001
|
||||
billboard = 1
|
||||
texture = ExtResource("1_ujgbg")
|
||||
Loading…
Add table
Add a link
Reference in a new issue