Hello,
I run into problem, when I unpause the game I getting this error:
Space state is inaccesible right now, wait for iteration or fixed process notification
Condition '!dss' is true, returned: Vector3()
Method/Function failed, returning: 0
Condition '!dss' is true, returned: Vector3()
And this problem is related with this (called from _fixed_process()
):
var motion = parent.move_to(parent.get_global_transform().xform(Vector3(0, 0, -currentSpeed * delta)))
parent.move(motion)
Please can someone help me to fix this?
Thank you
EDIT: my mistake was to put pause code inside _fixed_process()
as well, just paste code into _process()
and there is no errors.