mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Over 100 camangos Cata commits applied (to c12950)
Over 100 camangos Cata commits applied. up to and inclusing c12950.
This commit is contained in:
parent
b4ec0440aa
commit
eef77eadb9
117 changed files with 4314 additions and 3547 deletions
|
|
@ -317,11 +317,11 @@ void FollowMovementGenerator<T>::Reset(T& owner)
|
|||
|
||||
// This factor defines how much of the bounding-radius (as measurement of size) will be used for recalculating a new following position
|
||||
// The smaller, the more micro movement, the bigger, possibly no proper movement updates
|
||||
#define FOLLOW_RECALCULATE_FACTOR 0.1f
|
||||
#define FOLLOW_RECALCULATE_FACTOR 1.0f
|
||||
// This factor defines when the distance of a follower will have impact onto following-position updates
|
||||
#define FOLLOW_DIST_GAP_FOR_DIST_FACTOR 3.0f
|
||||
// This factor defines how much of the follow-distance will be used as sloppyness value (if the above distance is exceeded)
|
||||
#define FOLLOW_DIST_RECALCULATE_FACTOR 0.1f
|
||||
#define FOLLOW_DIST_RECALCULATE_FACTOR 1.0f
|
||||
|
||||
template<class T>
|
||||
float FollowMovementGenerator<T>::GetDynamicTargetDistance(T& owner, bool forRangeCheck) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue