first commit
This commit is contained in:
commit
a673773183
21 changed files with 305 additions and 0 deletions
9
pinball/ball.gd
Normal file
9
pinball/ball.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extends RigidBody2D
|
||||
|
||||
func _ready() -> void:
|
||||
mass = 1.0
|
||||
gravity_scale = 1.0
|
||||
physics_material_override.bounce = 0.8
|
||||
linear_damp = 0.1
|
||||
contact_monitor = true
|
||||
max_contacts_reported = 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue