Forum Discussion
eisen06
11 years agoHonored Guest
Where should i start for VR Gun Project ?
Hi,
I want make VR Gun for free roam virtual reality experiance. I buy wiimote+ but it have drift problem.When playing wiimote and fps game cursor is diffrent position.I buy psmove but i am not tried yet.I search imu sensors but i learn they have drift problem.Where should i start for VR gun.I want take its position and see it in my VR game.Anyone have suggessions about it ?
Should i wait oculus or htc controllers ?
PS: I use Oculus DK2
I want make VR Gun for free roam virtual reality experiance. I buy wiimote+ but it have drift problem.When playing wiimote and fps game cursor is diffrent position.I buy psmove but i am not tried yet.I search imu sensors but i learn they have drift problem.Where should i start for VR gun.I want take its position and see it in my VR game.Anyone have suggessions about it ?
Should i wait oculus or htc controllers ?
PS: I use Oculus DK2
11 Replies
- MikeFTrusteehonestly, just wait for touch. The only real contender was STEM but they've not released anything after being over 2 years late on their kickstarter so i wouldnt bother.
If you're desperately looking to prototype something with positional tracking, try to get a hydra, though i cant recommend that either since the prices are insane and the tracking isnt that great. - cyberealityGrand ChampionOculus Touch.
- omvrHonored GuestI'd recommend not reinvent the wheel but wait for the more official ones instead. Focus on your core content and experience rather on the hardware. :)
- nosys70Expert Protegefor 30$ you can get an topshot gun from Cabela. (take the PS version it is a lot more cheaper than the xbox version).
So you will not need to put any effort on trigger, reload, buttons etc..and it has the ergonomic of a gun. (painted in black it even looks good, provided that you will not see it while wearing an rift)
http://www.amazon.com/Cabelas-Top-Shot- ... B0043BX5PY
under windows the gun is seen as PS electric guitar...
It communicate with a small RF USB dongle like the one on wireless mouse.
you can use one of these utility that allow to map a controller to a keyboard key to make the life easy, like Joy2key or Xpadder, so you can use almost any game or develop with keyboard.
Then you need to focus on the aiming and for this you can go with any tracker available (YEI or other).
I got one from a guy who delevelopped a wireless tracker from the EDtracker project. it is cheap too.
it works great. google for "wireless EDTRACKER".
https://forums.frontier.co.uk/showthread.php?t=51551
Then you need to find a way to capture the data. Most trackers are emulating joystick or mouse.
you could aslo go for a 10$ air mouse from ebay, but if your IMU is only based on acceleration, you got a lot of drift.
The EDTracker is ok because it also has magnetic sensor, so no (or almost) drift.
If you want to go into real hack ,the cablea top shot has two joystick, so the real thing would be to hack one of these joystick to get the IMU data passed trough, so the data would then use the wireless link of the cabela interface. a small arduino should be able to do that. The good point is then you could go with an ordinary cheap tracker chip and you would get only one input to manage (the cabela top shot gun)
http://diyhacking.com/arduino-mpu-6050- ... -tutorial/
http://www.instructables.com/id/Guide-t ... ino-inclu/
once you are happy with the communication, you can think about stripping all the electronic out of the topshot to put it into another gun (realistic airsoft model ?)
All of this is pretty cheap, such a project should easily stay under 100$, so you take no risk to try - MikeFTrusteeI've done what nosys70 recommended back in the days of the dk1 using a yei tracker and a cabela gun, and i gotta say you'l probably be disappointed. Having only roll, pitch and yaw is ok for some simple tests, but by no means an adequate solution when compared to a full positional tracking system.
- nosys70Expert Protegewhat kind of additional tracking you would need out of yaw, roll and pitch for a gun ?
- MikeFTrusteeWell OP said he wanted positional tracking, so you'd need more than orientation :)
- konstantin_lozeExplorerNot sure if you want to play existing games with Vireio and a motion control like the wiimote or actually create your own shooter. If you want to develop already before the touch, you could do that with the PS Move and Unreal Engine viewtopic.php?f=25&t=26438
- nosys70Expert ProtegeThe original question never mentioned absolute positional tracking, just aiming with no drift.
you can get positional tracking from the oculus and then calculate relative positional tracking of the gun (provided it is calibrated once at the beginning, like a T-pose for the gun).
anyway, the positional tracking from oculus sucks since it is very limited to the FOV of the camera, so even if you got
a good , full positional tracking for the gun, you will probably miss one on the rift then...
i propose to set the tracker very close to the rift at the beginning , aiming up. Let's call it 007 pose. - MikeFTrustee
"eisen06" wrote:
Hi,
I want take its position and see it in my VR game.Anyone have suggessions about it ?
Sounded to me like he wanted positional tracking.
I'm just saying from experience, orientation isnt enough if you want to use it as a gun. You wont be able to aim with it like a gun, only pivot the angle. As a mounted turret sure, that'd be fine.
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
- 2 months ago
- 10 months ago