0
\$\begingroup\$

I am quite new to Unity so I don't know a crazy amount but topic is question.

\$\endgroup\$
  • 1
    \$\begingroup\$ How do you move your player currently? There are lots of ways to write movement code, so we'll need to see yours to be able to tell you how to adjust it. Please also describe the nature of the area that should cause this change. \$\endgroup\$ – DMGregory Nov 25 at 4:27
  • \$\begingroup\$ The base of my program comes from the vr oculus integration which I have tried fiddling with to change the sprint button, which didn't work (didn't matter that much) but the area is a crawl space and instead of making a button for crouch I wanted people to crouch themselves which works but when they are crouching through an area like a vent I want it to slow down the Player, movement code I will have to find in the scripts that came with the vr asset. \$\endgroup\$ – Battleredwing Nov 25 at 5:15
  • \$\begingroup\$ I don't know if this is the movement script part but its looked like, again new... pastebin.com/zTrxwzbh \$\endgroup\$ – Battleredwing Nov 25 at 5:20
  • 1
    \$\begingroup\$ That's the code for reading the player's input. If you're having trouble identifying the movement code, then you might be a bit too early in your learning journey to make good use of this site just yet. Starting with some beginners' tutorials will help you get up to speed, and give you the code comprehension skills you'll need to communicate effectively about implementation issues & options. \$\endgroup\$ – DMGregory Nov 25 at 13:53

Browse other questions tagged or ask your own question.