animals
This commit is contained in:
parent
f4ffbf642b
commit
f5f80fd180
15 changed files with 73 additions and 10 deletions
|
|
@ -10,6 +10,9 @@ func _ready() -> void:
|
|||
playerObject = $Horse
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if playerObject.global_position.y <= -100:
|
||||
playerObject.global_position = Vector3(0, 5, 0)
|
||||
|
||||
var rotationDif = playerObject.angular_velocity
|
||||
|
||||
monies += (rotationDif.length() * delta)/6.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue