OverviewFilesCommitsIssuesDocsReleasesPeers

godot-marble_madness_demo / player / ball / player_ball_remote.gd

12 lines · gd ref:
extends RigidBody

func update_position(new_mode : int, new_translation : Vector3, new_rotation : Vector3, new_velocity_linear : Vector3, new_velocity_angular : Vector3):
	self.mode = new_mode
	self.translation = new_translation
	self.rotation = new_rotation
	self.linear_velocity = new_velocity_linear
	self.angular_velocity = new_velocity_angular

func _physics_process(_delta):
	pass