Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Bug Camera.concurrentlyTurnTo(Locateable a) Broken?

Χ Ξ Σ
Joined
Apr 15, 2016
Messages
379
The following seems to work:

Code:
Camera.concurrentlyTurnTo(furnace, Random.nextDouble(0.300,0.600));

But this will do nothing at all, won't even attempt to move the camera. (Should supposedly use player sense and adjust yaw/pitch itself)

Code:
Camera.concurrentlyTurnTo(furnace);

There doesn't seem to be any error in logs.

Am I doing something wrong or is it actually broken?
 
Last edited:
Χ Ξ Σ
Joined
Apr 15, 2016
Messages
379
Please provide additional information.

I am trying to move the camera to a GameObject (in this case, a furnace).
furnace = GameObjects.newQuery().names("Furnace").results().nearest();

If I use Camera.concurrentlyTurnTo(furnace, manual pitch values); It works and moves the camera correctly to whatever values I set.
If I use Camera.concurrentlyTurnTo(furnace); for it to automatically determine pitch it does nothing at all even if the furnace is not in view.

-What I expect from it to:
*Move the camera to gameobject.
-What happens:
*Nothing at all.
-Was I able to manually fix this?
*Yes, by manually inputting a pitch value.
-RM Version:
*Latest.
-RS Version:
*RS3.
-Any error in logs?
*None.

I've been able to reproduce this all the time.

What type of info do you need? I'm more than happy to provide it.
 
Last edited:
Engineer
Joined
Jul 28, 2013
Messages
2,776
What does the dev kit say the yaw and pitch are when this happens?
 
And how many tiles away is the furnace?
 
Χ Ξ Σ
Joined
Apr 15, 2016
Messages
379
What does the dev kit say the yaw and pitch are when this happens?
 
And how many tiles away is the furnace?
The furnace is 13 tiles away; can be easily seen when zoomed out.
Pitch and yaw return valid values within range (0.568 and 83).

Now that you mention distance, it seems like the camera does turn correctly when an object is close (tried 4 tiles away with a portable).
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
The furnace is 13 tiles away; can be easily seen when zoomed out.
Pitch and yaw return valid values within range (0.568 and 83).

Now that you mention distance, it seems like the camera does turn correctly when an object is close (tried 4 tiles away with a portable).
We don't currently have camera zoom hooked on rs3 so the algorithm was written conservatively for when you're fully zoomed it.
 
Calculated using linear regression on a data-set that must have been very fucked up looking back on it. Hmm how to approach this...
 
Top