Jump to content
  • MovementManager.CurrentMoveTo.Type

    • Product: WRobot General Type: Bug Status: Unconfirmed

    MovementManager.CurrentMoveTo.Type is always none?

    I have a path that goes underwater when dead, the points have the "Swimming" type in the list of vectors but when checking MovementManager.CurrentMoveTo.Type the type is "None".

    I think this is probably why it isn't going underwater? and if not it would still be useful to have MovementManager.CurrentMoveTo.Type set so that I can add a MovementManager.GoUnderWater(); when the type is "Swimming".

    User Feedback

    Recommended Comments

    If I do

    Logging.Write(MovementManager.CurrentPath.Find(x => x == MovementManager.CurrentMoveTo).ToStringNewVector());

    I get the Swimming type but MovementManager.CurrentMoveTo doesn't have it.

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Create New...