sheepa
This commit is contained in:
8
scripts/sheep.gd
Normal file
8
scripts/sheep.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
extends CharacterBody3D
|
||||
|
||||
func _physics_process(delta):
|
||||
# Add the gravity.
|
||||
if not is_on_floor():
|
||||
velocity += get_gravity() * delta
|
||||
|
||||
move_and_slide()
|
||||
Reference in New Issue
Block a user