9 lines
163 B
GDScript
9 lines
163 B
GDScript
extends CharacterBody3D
|
|
|
|
var tunnel_velocity = Vector3(0,0,0)
|
|
|
|
func _physics_process(delta):
|
|
velocity = tunnel_velocity
|
|
move_and_collide(velocity * delta)
|
|
pass
|