mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-08 00:40:08 +01:00
40 lines
734 B
Plaintext
40 lines
734 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://bowling_ball.png" type="Texture" id=1]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
|
|
custom_solver_bias = 0.0
|
|
radius = 30.0
|
|
|
|
[node name="ball" type="RigidBody2D"]
|
|
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
mode = 0
|
|
mass = 1.0
|
|
friction = 1.0
|
|
bounce = 0.4
|
|
gravity_scale = 1.0
|
|
custom_integrator = false
|
|
continuous_cd = 0
|
|
contacts_reported = 0
|
|
contact_monitor = false
|
|
sleeping = false
|
|
can_sleep = true
|
|
linear_velocity = Vector2( 0, 0 )
|
|
linear_damp = -1.0
|
|
angular_velocity = 0.0
|
|
angular_damp = -1.0
|
|
|
|
[node name="sprite" type="Sprite" parent="."]
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="collision" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|