SuperTuxKart
Loading...
Searching...
No Matches
Classes
smooth_network_body.hpp File Reference

This class help to smooth the graphicial transformation of network controlled object. In case there is any difference between server and client predicted values, instead of showing the server one immediately, it will interpolate between them with an extrapolated value from the old predicted values stored in m_adjust_control_point estimated by current speed of object. More...

#include "utils/log.hpp"
#include "utils/vec3.hpp"
#include "LinearMath/btTransform.h"
#include <utility>
Include dependency graph for smooth_network_body.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SmoothNetworkBody
 

Detailed Description

This class help to smooth the graphicial transformation of network controlled object. In case there is any difference between server and client predicted values, instead of showing the server one immediately, it will interpolate between them with an extrapolated value from the old predicted values stored in m_adjust_control_point estimated by current speed of object.