added a basic ball that properly inverts velocity when colliding with a world boundary. my balls are getting stuck on each other tho
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://d2r0ip6xy3a2"]
|
||||
|
||||
[ext_resource type="Script" path="res://balls/ball.gd" id="1_ija2k"]
|
||||
|
||||
[node name="Ball" type="CharacterBody2D"]
|
||||
motion_mode = 1
|
||||
floor_stop_on_slope = false
|
||||
script = ExtResource("1_ija2k")
|
||||
Reference in New Issue
Block a user