PlaceholderGames / 2021-yr2-group-4

CS2S561 2020/1 Group 4
0 stars 0 forks source link

Collision issues on starting ground #40

Closed Wgcsam closed 3 years ago

Wgcsam commented 3 years ago

there are various invisible holes in the starting area which allow you to fall through the map, this enables you to reach unexpected areas and fall out of the map

https://user-images.githubusercontent.com/55789479/108526806-7ad98200-72c9-11eb-8d2c-194ed6a5362d.mp4

Uploading 2021-02-19_15-31-30.mp4…

Wgcsam commented 3 years ago

https://user-images.githubusercontent.com/55789479/108527082-c7bd5880-72c9-11eb-8574-2284885b323c.mp4

17078601 commented 3 years ago

I was able to reproduce this one. It can also be used to bypass the underground door and go to the second level skip3

17078601 commented 3 years ago

Additionally, it seems to be whichever parts of the terrain show the gravelly texture that this can happen to. The player moves over them just fine when sprinting though

17078601 commented 3 years ago

I have a fix for this. I had a similar issue when implementing URP into my game. It's to do with the shader used on the texture for your terrain.

fix0

I don't know what tangent geometry is but you can change the shader by double clicking the name and then change the shader by clicking the dropdown list under the main heading in the inspector

fix1

Changing to nature/terrain/specular reveals the holes in the terrain as well as under the lowering platform.

fix2

the wholes in the path can be filled in using the terrain brushes that you get in the inspector if you select the terrain in scene view.

you can then create a new terrain layer in the inspector and drag+drop the texture images over to reapply the texture but keep the holes.

fix3

Hope this helps.

DynomicAngel commented 3 years ago

This was a massive help thank you. This has now all been fixed