9 lines
No EOL
204 B
GDScript
9 lines
No EOL
204 B
GDScript
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 |