- Home /
Very complicated collider problems
Hey, so I got this issue as shown in this video: https://www.youtube.com/watch?v=zRSphQlYAb8
I got two sets of colliders: one is a general capsule collider outside of the model and another is a set of colliders for each relevant bone in the rig. The thing is, what I want to do is to do the hit detection from the guns to the colliders in the bones in the rig, and ditch the general capsule collider outside of the model. The problem is, I do this and the jumping doesn't work: I think I did this and whenever I jumped, the camera just fell off the world apparently.
Also other problems: the character sometimes does jump on top of the general collider and stands in the air while the camera remains at the same height below the character.
Here's relevant code:
Player.cs: https://hatebin.com/pqrdoaozqb Look.cs: https://hatebin.com/wfiulweero
I also gotta synchronize everything with Photon.
Any help?
Thanks.