Pryme8 Posted November 9, 2017 Share Posted November 9, 2017 So, now I am getting to the point in my project where I need to ensure that the speeds of the animations are consistent per client and do not drastically change with fps changes. I was thinking of passing a uniform of a targetFPS, and a currentFPS. so lets say the target FPS is 60, and the current fps is 30 which means the animations should play at twice the "time" value in order to keep up with a client updating at 60 fps. So I guess something like: float rate = targetFPS/currentFPS; then when I do my time equation multiply the time by the rate? This is just theory and before I go about testing it I wanted to get others opinions on the idea. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.