Forum Discussion
LatemanParodius
11 years agoHonored Guest
Pointless ponderings about mouse movement
Ahh, the humble computer mouse. It's been our loyal companion for quite a while, hasn't it? Everyone has one, or something approximating it. For an OS-control environment, wouldn't it still do a ...
g4c
11 years agoExplorer
Necrobump, although this isn't an OS it's mouse related and probably not worthy of a new thread:
I created a small game that does map a desktop mouse into the 3D scene.
It does a 3D ray cast each frame to determine the X,Y,Z surface contact point of the cursor.
The hand avatar model is then translated such that it's fingertip is on that point.
It's a fairly intuitive and natural way to interact with 3D GUI panels.
It has the added advantage of mapping to 2D playing (on a regular monitor) perfectly without any code change.
And as OP says "everyone has one", a mouse that is.
Here's a small DK1 compatible gambling game demo:
Windows EXE:
http://www.game4coins.com/dev/shiva/bitbot.exe
Screenshots:
http://www.game4coins.com/dev/gfx/oculus.jpg
http://www.game4coins.com/dev/gfx/bitbot.jpg
I created a small game that does map a desktop mouse into the 3D scene.
It does a 3D ray cast each frame to determine the X,Y,Z surface contact point of the cursor.
The hand avatar model is then translated such that it's fingertip is on that point.
It's a fairly intuitive and natural way to interact with 3D GUI panels.
It has the added advantage of mapping to 2D playing (on a regular monitor) perfectly without any code change.
And as OP says "everyone has one", a mouse that is.
Here's a small DK1 compatible gambling game demo:
Windows EXE:
http://www.game4coins.com/dev/shiva/bitbot.exe
Screenshots:
http://www.game4coins.com/dev/gfx/oculus.jpg
http://www.game4coins.com/dev/gfx/bitbot.jpg
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 1 year ago