PlaceholderGames / 2022-yr2-team-bing-chilling

Second CS2S561 Game
0 stars 1 forks source link

Added Colliders #94

Closed Luckyxzx closed 2 years ago

Luckyxzx commented 2 years ago

I have gave all the objects within Level1 a Collider

Luckyxzx commented 2 years ago

Is there more to do thats within the assets area or are they all in Level1 Scene?

Luckyxzx commented 2 years ago

i gave Box colliders to the walls and all the trees and branches i gave a mesh collider as it's better

YoungOnef commented 2 years ago

I have gave all the objects within Level1 a Collider

Not all items contains colliders

"yo krystof im currently looking at all the prefabs, why not use mesh collider on ones that cannot be done with a box collider?"

At first to use mesh colliders for every object. I have attempted using mesh colliders but for some reason they are in the wrong place and I have looked over internet and found no solution to this problem. So I have deciding than doing nothing I will just add/edit 3d colliders that will work for the 3d models that are not complicated

Issue that I have created for this problem https://github.com/PlaceholderGames/2022-yr2-team-bing-chilling/issues/92

Luckyxzx commented 2 years ago

I have gave all the objects within Level1 a Collider

Not all items contains colliders

"yo krystof im currently looking at all the prefabs, why not use mesh collider on ones that cannot be done with a box collider?"

At first to use mesh colliders for every object. I have attempted using mesh colliders but for some reason they are in the wrong place and I have looked over internet and found no solution to this problem. So I have deciding than doing nothing I will just add/edit 3d colliders that will work for the 3d models that are not complicated

Issue that I have created for this problem #92

Ahhh fair enough, i went into the prefab and applied the mesh collider on the objects themselves and when i tried walking into them and around it worked fine. If you can give it a try and see if any of the trees colider's are fucked up or not

YoungOnef commented 2 years ago

Ahhh fair enough, i went into the prefab and applied the mesh collider on the objects themselves and when i tried walking into them and around it worked fine. If you can give it a try and see if any of the trees colider's are fucked up or not

I can see that you have applied the box collider specifically to the cube its self.

image

I had to manually edit box collider for it to fitted for the the 3d model.(Your method automatically applied perfect fitted box collider )

For some reason every mesh is called Cube which is quite difficult to find a specific mesh that matched the 3d model

image image

As you can see I have try to apply Mesh Collider to Dead Tree 1 model and its the same result. I don't know how to move only Mesh collider as it doesn't give me a option for it like in Box collider

image
Luckyxzx commented 2 years ago

uh shit thats weird, i'll change all the mesh to box collider in a few then

Luckyxzx commented 2 years ago

atleast all the box colliders work, just have to fix all the trees

Luckyxzx commented 2 years ago

@30021537 I've updated some Colliders to make them smoother, for example, the Mushroom trees or triangle trees, I've applied mesh collider and double-checked to make sure it wouldn't fuck up, the trees collider are out of the question, I tried applying different colliders to it but cannot seem to get a good one, the best, in my opinion, is mesh for them. if you can do better go for it because i cannot

Luckyxzx commented 2 years ago

The best option to add these objects to the map is just to have a Scene with all the objects and we can just copy and paste whichever one we need over