Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I want to test making games with Unity the first time but I don't get, why the player only collides with normal elements like cubes, planes etc. (so elements, which you can create in unity), but with assets like a floor or something it doesn't work. The player just goes through the asset objects. I'm sure I have to change something at the asset objects, but what?

question from:https://stackoverflow.com/questions/65844270/unity-assets-doesnt-collision-with-player-but-cubes-etc-does

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer

Try adding a suitable type of Collider (ref), the default Unity GameObjects come with Colliders preattached.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...