- Home /
Objects parented to "FPS-Camera" goes through terrain and walls!
Hi!
So I'm making a game in Unity and I have several objects parented to the main camera which is parented to the character controller. The problem is that when I walk around with the objects they "go through" the terrain and other objects. I have a mesh collider on the object (in this case an axe) and a rigid-body.
I have tried to find a similar tread with answers but without luck.
Does anyone have an idea how to fix this? Thanks in advance for help! :)
you mean that the camera view goes through, in which case set the camera a bit backwards
When objects like this are moved without physics, well, no physical collision.
so you have objects that Collider, and then when you add the camera, they don't collide anymore? The 1st person camera is probably combined with a 1st person script which could the overriding physics, 1st person camera normally goes with 1st person controller?
Yeah, that's what I mean. Adding rigid colliders to another object does not automatically inherit the collision as far as the controller cares. I'm interested in ideas on this. I have a few but let's see what folks come up with.
The camera does not go through, just the objects the character is "holding"...
But now I tried with a simpler model (banana) and it can collide with objects, but when it do it starts to spin and "floats" away. And if I look down and it touches the ground the character jumps/flies...
Your answer
Follow this Question
Related Questions
Make a simple tree 1 Answer
Play mode problem 2 Answers
Gap grass problem? 1 Answer
Objects moving outside of camera 0 Answers