|
Post by forummehighlow on Sept 28, 2023 15:16:15 GMT
I watched the HDRP Scene(everything works there) and then I set it all up the same. However I'm having a problem on the terrain side of things.
It can detect when I'm going off a terrain into the building and it works fine while when on the Terrain it only plays the sound of the first texture...
I tried putting grass first and then when I turned Debug Texture Name it only recognized the grass texture while when I was on dirt for example it recognized it as grass texture....Then I switched things and put Dirt Texture first in the Terrain Menu and then it only played Dirt while I was on a Terrain...
Why is this happening? It works fine and all but it cannot detect textures on Terrain properly! I checked the Demo Scene and there is no difference between Terrain in Demo and Mine.
How do I make it so it detects the other textures on Terrain since it's obviously working(it detects perfectly when I enter a building) just not detecting
Thanks!
|
|
lobo
New vMember
Posts: 4
|
Post by lobo on Oct 16, 2023 16:28:23 GMT
Late reply but I had the same problem but found a work around. So, first with all the new updates within Unity, it breaks a lot of systems from 3rd party devs because things worked once very well with older versions of Unity then now they don't.
Okay, so all you have to do is add one or two more box collider to the foot of your character and make sure they're set to "trigger". From there, your character will always collider with any textures. Also, make sure you change the size of the collider to make sure it passes through the terrain.
If you use the default one, it will always collide but it falls apart once you add textures to have the character collide with the proper audio. I hope this helps.
Right now, I am working with figuring out why the D pads on a gamepad don't work but the arrows on the keyboard work just fine to switch weapons. I think the new Versions of Unity are really messing the Invector add ons.
|
|
|
Post by forummehighlow on Oct 24, 2023 16:28:51 GMT
Thank you!!! I waited 3 weeks and you finally solved it. Much appreciated
|
|
|
Post by gamestrike on Jan 27, 2024 21:13:45 GMT
Any solution for this issue? I tried "Lobo" tip, but sadly doesnt work for me. I tried 2022 and 2021 Unity versions, same problem with them. Despite how much textures you terrain have, only the first texture is returned on debug.
|
|