Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Mouse.Pick

Years of Service
User Offline
Joined: 18th Aug 2011
Posted: 16th Jul 2012 20:51
When I add a second camera, I can no longer use Mouse.Pick to get the object under my mouse.

The help text says...

"use the SetCurrent for the screen being rendered by that camera view"

However there is no SetCurrent method for the Camera. When I lookup SetCurrent in the help I only see it for Basic2D objects.


Am I suppose to create a ScreenBitmap object, and somehow associate it with my Default Camera?

Years of Service
User Offline
Joined: 9th May 2012
Location: United Kingdom
Posted: 19th Jul 2012 12:20
I believe you have to set the second camera as the current camera for the mouse.pick to work.

i.e. something like Camera2.SetCurrent

Login to post a reply

Server time is: 2023-12-05 11:24:45
Your offset time is: 2023-12-05 11:24:45