0 votes

Hello,

I got tired of MonoGame issues and made the heartbreaking decision to abandon my own game engine built on top of it and restart my projects in Godot. In my engine, I had FixedUpdate implemented with "alpha" value which used for frame interpolation etc.
I see that there is already PhysicsProcess in Godot which is great, but I can't seen to get the "alpha" value. Is it not part of Godot engine, or did I miss something?

Thanks you

Godot version 3.5.1
in Engine by (53 points)

1 Answer

0 votes
Best answer
_physics_process(delta) 

We use the delta value to do 'frame interpolation' if by that you mean to ensure movement happens at a constant rate regardless of the frame rate of the game. This delta value is actually the time that has elapsed since the last frame was drawn.

by (2,017 points)
selected by

Actually what I was looking for the getphysicsinterpolation_fraction, now everything is fine :)

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.