Rigid body error correction data 更多...
#include <EngineTypes.h>
Public 属性 | |
| float | AngleLerp |
| How much to directly lerp to the correct angle. | |
| float | AngularVelocityCoefficient |
| This is the angular analog to LinearVelocityCoefficient. | |
| float | ErrorAccumulationDistanceSq |
| If the body has moved less than the square root of this amount towards a resolved state in the previous frame, then error may accumulate towards a hard snap. | |
| float | ErrorAccumulationSeconds |
| Number of seconds to remain in a heuristically unresolveable state before hard snapping. | |
| float | ErrorAccumulationSimilarity |
| If the previous error projected onto the current error is greater than this value (indicating "similarity" between states), then error may accumulate towards a hard snap. | |
| float | ErrorPerAngularDifference |
| Error per degree | |
| float | ErrorPerLinearDifference |
| Error per centimeter | |
| float | LinearVelocityCoefficient |
This is the coefficient k in the differential equation: dx/dt = k ( x_target(t) - x(t) ), which is used to update the velocity in a replication step. | |
| float | MaxRestoredStateError |
| Maximum allowable error for a state to be considered "resolved" | |
| float | PingExtrapolation |
| Value between 0 and 1 which indicates how much velocity and ping based correction to use | |
| float | PingLimit |
| For the purpose of extrapolation, ping will be clamped to this value | |
| float | PositionLerp |
| How much to directly lerp to the correct position. 更多... | |
Rigid body error correction data
| float FRigidBodyErrorCorrection::PositionLerp |
How much to directly lerp to the correct position.
Generally this should be very low, if not zero. A higher value will increase precision along with jerkiness.