Fixed far-away AI characters staying disabled when switching control to them + minor optimization
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
//if a Character is further than this from the sub, the server will ignore it
|
||||
//(in display units)
|
||||
public const float CharacterIgnoreDistance = 20000.0f;
|
||||
public const float CharacterIgnoreDistanceSqr = CharacterIgnoreDistance * CharacterIgnoreDistance;
|
||||
|
||||
//how much the physics body of an item has to move until the server
|
||||
//send a position update to clients (in sim units)
|
||||
|
||||
Reference in New Issue
Block a user