2021-03-31 17:05:08 +02:00
|
|
|
extends StaticBody
|
2021-05-05 23:55:31 +02:00
|
|
|
class_name Planet
|
2021-03-31 17:05:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
export(float) var mass
|
2021-05-05 23:55:31 +02:00
|
|
|
export(float) var rotate_speed := 0.0
|
|
|
|
|
|
|
|
|
|
|
|
func _process(delta):
|
|
|
|
rotate_y(rotate_speed * delta)
|
|
|
|
|