Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Feature requests and bug reports
mouse lock on webgl

semiplay
Registered User
Quote
2017-08-06 17:35:56

I've tried both fullscreen extensions for clicking to make the webgl full screen. They both work great. However, when I click with my mouse in either, it moves the camera view down and to the right. Once on down click, once on up click. This only happens with mouselock on. If it is off, then clicking works fine, no camera movement from it.

Anybody else see this? Any ideas on how to fix?

Thanks!


ishmaru
Registered User
Quote
2017-08-07 03:34:05

I would like this as well. I wonder if there is a method we can remove in the Copperlicit webgl library.


niko
Moderator
Quote
2017-08-07 07:23:49

Does this happen with a specific behavior active? It works nicely in my test.


semiplay
Registered User
Quote
2017-08-07 16:16:34

For me it happens on any mouse click - whether I am clicking on an object with a behavior or into "empty" space. I am using current Chrome on a mac if that helps. Also tried it with both the first person camera and no camera at all (just default) with the same result when clicking.

Here's a simple example - click on the cube to toggle fullscreen, then click anywhere else to see the mouse movement:
http://semiplay.com/cc/webgl.htm...


semiplay
Registered User
Quote
2017-08-11 17:46:11

Niko can you post your sample file? Thx!


niko
Moderator
Quote
2017-08-13 08:35:03

Ah, I tried again and was able to reproduce the problem now. Will have a fix for this within the next few weeks.


semiplay
Registered User
Quote
2018-02-22 23:44:59

Was this ever added in? Thx.


niko
Moderator
Quote
2018-02-23 08:09:12

Yes, a fix was implemented in CopperCube 5.7


semiplay
Registered User
Quote
2018-02-26 01:24:42

Ok, thanks so much!


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact