All Questions

Community

u
uuuuuup uuuuuup

_physics_process call sequence

Hello,

I have 2 questions.

  1. _physic_process in Actor called first? not _physic_process in Player?
  2. in my editor, if I write "func _phy", then my editor does not show "-> void". How to do it?

Thanks.

  • Nathan Lovato replied

    Hi,

    1. Yes, physics process is called from the parent class down the chain.
    2. You have to go to Editor -> Editor Settings -> Completion -> Add Type Hints. You can search for "type hint" in the Editor Settings window to find it quickly.