You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
287 B
GDScript

extends Node
## Nodes
func get_body_node():
return $KinematicBody2D
## Parameters
func set_gpos(new_pos):
return get_body_node().set_gpos(new_pos)
func get_gpos():
return get_body_node().get_gpos()
func set_internal_velocity(new_vel):
get_body_node().set_internal_velocity(new_vel)