opida
Junior vMember
Posts: 38
|
Post by opida on Apr 17, 2023 3:14:03 GMT
Hi,
I have this weird problem with my camera "zooming" in because the player is touching the wall, and maybe the knee or something is clipping the wall, which makes the camera make these weird jittery effect. It's fixed when I remove culling, but I want to keep this feature.
See video: streamable.com/hdkng4
|
|
|
Post by Invector on Apr 17, 2023 13:12:56 GMT
Do you have a trigger inside that space? if so make sure the object is using the layer "Triggers", if it's using "Default" it will be cull by the camera
|
|
opida
Junior vMember
Posts: 38
|
Post by opida on Apr 17, 2023 16:44:18 GMT
I have tried to make the layer trigger now, but the camera keeps still culling when the player clips with the wall
|
|
|
Post by Invector on Apr 18, 2023 18:37:28 GMT
Make sure any objects inside that area is using the Triggers layer, you can also use the this trigger to change the cameraState into a fixed world position, so the camera stays fixed while doing this action
|
|
opida
Junior vMember
Posts: 38
|
Post by opida on Apr 23, 2023 17:25:29 GMT
I set the 2 pillars to trigger layer, and it still does the weird zoom effect when the player performs the Wall jump
|
|
opida
Junior vMember
Posts: 38
|
Post by opida on Apr 24, 2023 20:39:42 GMT
I have debugged a bit more, and see that when i jump the camera also "zooms" in and does the clipping, it's only from a certain angle it dosn't do it, also for my last sword attack where the player is up in air doing the sword attack it "zooms" in and the clipping occurs. I can't seem to find the problem: streamable.com/41qfx7
|
|
|
Post by Invector on May 2, 2023 12:55:17 GMT
"This video has been archived and is not available to watch at this time."
|
|
|
Post by Invector on May 2, 2023 12:56:12 GMT
Make sure you don't have any objects with the tag "Default" inside your character/weapon, otherwise it will clip through colliders with that layer
|
|
opida
Junior vMember
Posts: 38
|
Post by opida on May 5, 2023 18:55:39 GMT
THANKS! the issue where that my jetpack had the layer default. It fixed my problem. You are the champ!
|
|
opida
Junior vMember
Posts: 38
|
Post by opida on May 5, 2023 21:30:36 GMT
|
|
|
Post by Invector on May 12, 2023 13:03:48 GMT
Hmm I'm not sure, it still looks like clipping... just to make sure, disable the clipping by assigning the Nothing into the clipping layer, if this fixes the zoom it means there still colliders with the Default layer inside your player
|
|