Basic launch

This commit is contained in:
Victor Turgeon
2022-10-11 19:11:46 -04:00
parent 463f1c5cda
commit 82774ae786
8 changed files with 213 additions and 22 deletions

16
Scripts/HitBox.gd Normal file
View File

@@ -0,0 +1,16 @@
class_name HitBox
extends Area
enum HitboxType{
Unassigned,
Slap,
Projectile,
}
export var hitbox_type = HitboxType.Unassigned
var slap_level = 0
var slap_vector = Vector3()
func _init():
collision_layer = 2
collision_mask = 0