engine
 
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
FRigidBodyErrorCorrection结构体 参考

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

类成员变量说明

◆ PositionLerp

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.


该结构体的文档由以下文件生成: