So I am working on a VR gorilla tag fan game and I have imported the right package (link for GitHub page: GitHub - Another-Axiom/GorillaLocomotion: locomotion system used in Gorilla Tag) but when I test it out, it’s very hard to move and I keep sticking to the floor which is insanely annoying as this bug makes the whole game basically unplayable. Please can someone help me as I have no idea what to do. If you need to see any assets I have used, please ask me.
Sounds like you wrote a bug… and that means… time to start debugging!
Since the extent of your data is just “NOT WORKING,” all I can say in return is “GET IT WORKING.”
You might want to review some of the docs or issues if any are present on that github.
Here’s how you can learn how to debug:
By debugging you can find out exactly what your program is doing so you can fix it.
Use the above techniques to get the information you need in order to reason about what the problem is.
You can also use Debug.Log(...); statements to find out if any of your code is even running. Don’t assume it is.
Once you understand what the problem is, you may begin to reason about a solution to the problem.
Remember with Unity the code is only a tiny fraction of the problem space. Everything asset- and scene- wise must also be set up correctly to match the associated code and its assumptions.
If you learn more, try this format:
How to report your problem productively in the Unity3D forums:
This is the bare minimum of information to report:
- what you want
- what you tried
- what you expected to happen
- what actually happened, log output, variable values, and especially any errors you see
- links to actual Unity3D documentation you used to cross-check your work (CRITICAL!!!)
The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven’t put effort into finding the documentation, why should we bother putting effort into replying?
If you post code, only post the relevant code and always use the format button above. Do not post photographs of code.
I have downloaded the exact files from the github link and I didnt make the code so I’m at the point of giving up. Thats all I can give you as I’m not very good at coding in annyway shape or form
the locomotion isnt written very well, so the raycasting pretty much falls apart when preformance takes any hits. i would try improving the preformance in your project.
probably friction or something like that
like physics im guessing
check if input handling is both
me too
cries(ish)
Replace the XR-RIG script with the XR-ORGIN script on the Gorilla Rig, if you cant find the XR orgin in the “Add component” then download it from somewhere, also don’t change the controllers AT ALL that will just break the project, if you followed what I said you shouldn’t be stuck or getting stuck.
The gorilla locomotion will not work in unity 6. You have to use an older version like 2022.
I personally usually use 2022.3.62f2 and it works fine for me. If you really want to use unity 6 there are some new versions (unofficial) of the gorilla locomotion that work in unity 6 made by indie developers but they usually are behind a pay wall.
I can’t see the exact date this was posted, but I hope you can find the solution. If not, make sure you’re using Unity version 2021. Do not use a version below or above 2021. (Also, make sure it doesn’t have the security alert warning)
Yeah i fixed this a little while ago and forgot to close the post. Turns out it was a mirror i had (which was just a camera) so i added some stuff and it all worked fine.