0 votes

So I have a mage that will do this if they hit a collision body below screen

func _on_Teleport_body_entered(body):
if body.has_method("_teleport"):

But for some reason when My priest falls down and gets teleported he appears for a second then immediately disappears.

func _teleport():
position = spawn

I don't know what's wrong and there aren't any errors

in Engine by (33 points)

is your priest rigid body?

For helping you more, we would need some more informations.
How is the structure of the priest, does it include some sprite or anything visual.
(make a simple screenshoot)

The behavior you describe seems like the visual is in cause.
To be sure have you try to simply "brutforce" print is position:

var time = 0
func _physics_process(delta):
time += delta

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.