OrdinaryHuman.gd 264 B

12345678910111213141516
  1. extends Human
  2. var speed = 0.4
  3. var normal = Vector3(0,1,0)
  4. func init_():
  5. return [
  6. Saying.new(Saying.ITSELF,"do not bother me"),
  7. Saying.new(Saying.ITSELF,"please"),
  8. ]
  9. func _process(delta):
  10. translation+=Vector3(0,0,speed*delta).rotated(normal,rotation.y)