Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

  • MovementManager.CurrentMoveTo.Type


    Marsbar
    • 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.

    Share this comment


    Link to comment
    Share on other sites

    moveto can change from original path position (and wrobot don't parse type), use MovementManager.CurrentPath[MovementManager.PointId]

    Share this comment


    Link to comment
    Share on other sites


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...