Thanks very much for help guys....I appreciate that.
Yes definitely singleplayer....this project it'll be a exploration walking....first person only...with some
puzzles...blog about is here [url]http://forums.torque3d.org/viewtopic.php?f=8&t=1542[url
....so I get it working by mouse cursor...and the trick I used is that RMB is set to display the mouse cursor...so the screen responds only to the mouse cursor and camera does not move... the player must now hold the RMB pressed....when player release RMB then mouse cursor is hidden and cursor
is off....and when cursor is hidden I set his position to the middle of the screen ( where is crosshair ) so when player pressed LMB....hidden mouse cursor raycasting items/objects in the scene so this looks like crosshair do raycasting
....and at that moment the 3d model viewer appears with clicked
item/object to explore in detail.....then when player clicks again with LMB but only outside of the model/item in the scene, 3dmodel viewer disappears and when RMB is pressed inside or outside
of the model/item and 3d model viewer is just on the screen and player don't want to explore anything in the 3d viewer....so it disappears.
This works really well and the advantage is that the cursor is available on RMB click for use on other things.
.....but i'll try the crosshair raycasting solution but with thisI I'm quite satisfied.
..... I will post later a gif where it will be better to see in action.