Tagged Questions
0
votes
1answer
73 views
Lerp an object based on timers
I'm trying to make a target lerp between two objects based on a timer.
At the moment, I have the following code:
float distCovered = (Time.time - waitTime) * speed;
float fracJourney = ...
7
votes
2answers
156 views
Interpolating between two networked states?
I have many entities on the client side that are simulated (their velocities are added to their positions on a per frame basis) and I let them dead reckon themselves. They send updates about where ...
9
votes
2answers
238 views
Server-side Input
Currently in my game, the client is nothing but a renderer. When input state is changed, the client sends a packet to the server and moves the player as if it were processing the input, but the ...