- doors aren't ignored when checking visibility during waypoint generation or when finding a starting node for a path
- AICharacter will mark their path unreachable if their path is blocked by a door they cant open (may happen if someone closes the door after calculating the path) - fixed exception when creating a Steering component when there's no active GameSession (i.e. in the editor)
This commit is contained in:
@@ -231,7 +231,7 @@ namespace Barotrauma
|
||||
public PhysicsBody(Body farseerBody)
|
||||
{
|
||||
body = farseerBody;
|
||||
body.UserData = this;
|
||||
if (body.UserData == null) body.UserData = this;
|
||||
|
||||
LastSentPosition = body.Position;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user