1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Camera.turnTo(Locatable a) broken?

Discussion in 'Developer Support' started by Dibes, Jun 20, 2015.

  1. Dibes

    Joined:
    Nov 18, 2013
    Messages:
    120
    Likes Received:
    9
    It seems that when I attempt to use
    Code (Text):
    1. Camera.turnTo(clerk.getPosition());
    It does one of two things
    A) Doesn't move the camera at all
    B) Types ds in chat if I accidentally had it open to be typed in. I believe this is the direction it is trying to move the camera in since ds made sense direction wise to get to the locatable.

    It seems that the camera is attempting to use WASD to move the camera. When I manually attempt to use WASD it doesn't move my camera even though it is "set" in my RS settings, however using my arrow keys works fine.
     
  2. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    Your chat may be focused/opened when this action is going on. @Cloud perhaps we can add a check for this and hit Escape if we find it to be true.
     
  3. Dibes

    Joined:
    Nov 18, 2013
    Messages:
    120
    Likes Received:
    9
    I tried it with and without the chat being focused, it didn't work in either case :(.
     
  4. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Done.
     

Share This Page

Loading...