|
Post by marcrem on Feb 16, 2018 14:43:54 GMT
Hi,
The subject pretty much tells it all.
My road was made in easyroads3D and consists of a mesh with a road texture on it. However, when I walk on it, it detects the terrain texture under it.
Any ideas? Thanks!
|
|
|
Post by RoguesGalleryGames on Feb 16, 2018 19:04:13 GMT
Maybe your footstep sensor sphere colliders are too far down from the bottom of your characters feet. They may be passing through the road mesh and making contact with the terrain. Try selcting them both and moving them up to a point where they don't touch the terrain when you're on the road mesh. Just a guess.
|
|
|
Post by uberwiggett on Feb 18, 2018 0:37:47 GMT
afaik the footstep reads the texture on the terrain, I am not 100% sure it extends to any mesh. If anyone can answer that it'd be appreciated. As for this issue, just to check, have you included the texture name to the list for the particular footstep audio you want?
|
|
|
Post by Invector on Feb 18, 2018 14:19:11 GMT
Check the layers, name of the texture and turn the debug option on to see if it's colliding.
|
|
|
Post by sjl on Feb 18, 2018 16:04:35 GMT
Its typically not an investor collider issue. But yes in some cases adjusting the collider hight will fix it..I had a similar issue with pro builder and some objects I made in 3dsmax... Some procedural objects like pro builder shapes especially won't work no matter what you do. but, I found that if you use the unity 3d objects(example unity plane) just make it the size and thickness of your original object and apply the texture you want to activate the sound desired to that object place and parent with original object turn off render for said object so it's hidden then your sound will work as desired.. just a temporary fast fix but it works.
Easy 3d roads just raise the road hight in it's inspector window just slightly higher than your terrain that's what I did it worked fine, just be sure to apply the correct texture to the audio file and apply the audio file to your custom sound to your vfootstep inspector window.then your set. Hope that helps.
|
|
|
Post by marcrem on Feb 20, 2018 16:06:25 GMT
Turns out my roads were on the "Roads" layer for splatmap purposes. I changed them to default and it worked.
Thanks everyone.
|
|