Share

Irrlicht Engine

Tracker: Bugs

3 FPS Camera bypasses InputReceivingSceneManager - ID: 1732791
Last Update: Comment added ( bitplane )

With more then one scene managers using setInputReceivingSceneManager in
Linux does not switch over which scene manager control the input.


JKnife ( jaggedknife ) - 2007-06-07 14:04

3

Closed

Fixed

Gaz Davidson

scene

SVN head revision

Public


Comments ( 4 )




Date: 2008-04-24 21:39
Sender: bitplaneSourceForge.net DonorProject Admin


Fixed in SVN trunk as of r1321, will be fixed as part of Irrlicht 1.5


Date: 2008-02-19 18:36
Sender: bitplaneSourceForge.net DonorProject Admin


Update: Re-titled this bug as it is to do with the FPS camera, assigned to
me as it will be fixed along with the ICameraController changes.

Background: FPS camera takes and sets mouse positions directly from the
ICursorControl, so doesn't use the event system. This means the FPS cam
still rotates when it's scene manager isn't the one receiving input.


Test:
// add to any example with an fps camera (4)
scene::ISceneManager *mgr2 = smgr->createNewSceneManager();
device->setInputReceivingSceneManager(mgr2);


Date: 2008-02-19 18:23
Sender: jknife


I think that was my problem, I have sence then rewrote how i handled this
and started using a global input manager.


Date: 2008-02-19 11:11
Sender: bitplaneSourceForge.net DonorProject Admin


All code to do with setInputReceivingSceneManager is handled by the device
stub, both setting the input receiving manager and posting events to it.
I didn't test in Linux but it works fine in Windows, however, the FPS
camera uses the mouse position from the cursor control and doesn't care if
its manager is the one receiving input.
Could this be your bug?
If not, can you please provide a sample code snippet that demonstrates the
problem?


Log in to comment.




Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Open 2008-04-24 21:39 bitplane
resolution_id None 2008-04-24 21:39 bitplane
close_date - 2008-04-24 21:39 bitplane
assigned_to nobody 2008-02-19 18:36 bitplane
summary setInputReceivingSceneManager is broken in Linux 2008-02-19 18:36 bitplane
priority 5 2008-02-19 11:11 bitplane