- This topic has 8 replies, 5 voices, and was last updated 1 year, 10 months ago by
Micdsn.
-
AuthorPosts
-
2019-09-28 at 11:08 am #19440
GLiFTeK
CustomerSo i was pretty psyched to work with the new Gamepad detection puzzles.
I posted it here.. you can steer around the square. and squash it with a trigger and bounce with button A.
not much but it’s a start. oh and mouse clicking on the square turns on and off camera follow.
That aside.. feel free to copy these to libraries then to other files to use or augment this one. it’s surprising how much code goes into just getting these buggers mapped properly heh.
this is for the xbox 360 and One controllers, but you can use it with any other controller. you’d just have to change a few things.here’s the project in action..
gamepad test
if there’s a way to share the asset files from the verge network that would be great to know how to.
here’s a link to a zip of the asset files if interested..
gamepad test
enjoy!Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2019-09-28 at 11:48 pm #19442GLiFTeK
CustomerWhat would be the easiest way to have this be multiplayer, where each person that follows the link, has a new cloned cube to steer?
is that possible?Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2019-09-29 at 9:50 am #19450Yuri Kovelenov
StaffWow, that’s a nice gamepad-testing app! Appreciated that bouncing scale effect! :)
What would be the easiest way to have this be multiplayer, where each person that follows the link, has a new cloned cube to steer?
is that possible?Take a look at three.js examples. They should work with Verge too.
2019-09-29 at 1:20 pm #19455GLiFTeK
CustomerWow, that’s a nice gamepad-testing app! Appreciated that bouncing scale effect!
What would be the easiest way to have this be multiplayer, where each person that follows the link, has a new cloned cube to steer? is that possible?
Take a look at three.js examples. They should work with Verge too.
hey thanks!
it was fun to make., though lots of room for improvement. (should have used rounding more)
i’ll post a more refined version later.
thanks for that link. i’ll definitely have fun exploring that.also, again.. is there a way to link so people can get to your source files, so that we can share puzzle projects?
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2019-09-30 at 6:06 am #19475Yuri Kovelenov
Staffif there’s a way to share the asset files from the verge network that would be great to know how to.
Well, for now you can probably upload a zip archive to Verge3D Network instead of deploying the project, and provide the link to that zip.
2023-04-13 at 12:06 pm #62049cralex75
Customerhello, I’m experimenting with gamepad puzzles to use a first person camera, also using the “collision material”, it works, but I have a problem, if I use the normal puzzle the movements are very slow, if I apply a variable to define the speed inserts an abnormal movement to the “oscillation” camera. The problem is the “0.004” position of the gamepad, if I assign the speed variable to 100 that value is amplified to “0.4”
How can i solve? Maybe something is missing?-
This reply was modified 1 year, 10 months ago by
cralex75.
Attachments:
You must be logged in to view attached files.2023-04-14 at 8:42 am #62059Alexander Kovelenov
StaffThe problem is the “0.004” position of the gamepad,
Hi! You mean this value reported by the gamepad when the sticks are at the center? Perhaps you need to add basic logic puzzles to disable the movement, when stick axis value is lower than some minor value, say less than 0.005.
-
This reply was modified 1 year, 10 months ago by
Alexander Kovelenov.
-
This reply was modified 1 year, 10 months ago by
Alexander Kovelenov.
-
This reply was modified 1 year, 10 months ago by
Alexander Kovelenov.
2023-04-14 at 3:22 pm #62078cralex75
CustomerI looked in the forum but I didn’t find any topic about it, for now I set a negative value equal to the drift value, to avoid the displacement.
This can’t be a definitive solution, because joypads are not all the same, you should set the “deadzone” value at least to 0.005 or higher.
Can anyone help me to solve this problem.Attachments:
You must be logged in to view attached files.2023-04-26 at 5:05 pm #63300Micdsn
CustomerI cant get this project to launch in VR… am I missing something?
-
This reply was modified 1 year, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.