hello, i’m working on a side scroll 2.5 hack & slash game here a image:
game vision
invisible walls.
character cam vision:
as you see the character can walk right and left and up and down but i’ve added some "invisble walls to limite where he can go from up down and left and right, the cam follow the player on that position as he aways remains in the center.
here the issues:
1 - weird zoom, unreal have a "default weird zoom, which whenever the character capsule have a collision with something (be another character or a wall) it auto “zoom” to very close to the character even if the object is "invisible, i can understand it, being th avoid the "character pass over a visible wall and you being unable to see the character then it try to “auto zoom” to the character, but for that "case it don’t work well, i want to know where i can "change to make prevent the “zoom” to make the vision keep´in the same distance without the zoom, how i can “disable that zoom”, because whenever the character reach the "invisible wall it auto zoom to almost inside the character, i can understan a “little of a zoom” but not on that level for exemple:
it’s like the “cam” hit the wall then “get stuck” then the character start to move close to the cam since it got stuck, i’ve also already tried to reduce the wall size to make the cam be able to pass it but it’s really seens to not change anything and anything on the size of the character capsule will trigger “this zoom”, how i can prevent or at last reduce how this happens???
2 - switch between cameras - like some "hack& slash action games like this one, sometimes when the character reach a “point of the map” the cam stop follow the character and lock on the “map” in the place he hit making able to walk all around the “area” without the cam keep him at the center, he can free move around until one of 2 things happens, or he kill all the enemies of this area or until he “leave” the area of the cam lock:
something like that
A-------------------------------------->B(lock cam) --------------------------------------> C
when the camera lock on B he will be walking around the B point until he kills all enemies or until something happens which will allow him to leave the “B” and be able to walk to point C or in others cases he can walk back to point A from B, when he leave the B going back to A then the camera go back following him.
Basically the map will have some “key points where i gonna place a 'extra” where whenever the player reach that “key points” his cam will be changed to that “cam” and he now will be able to free walk around until he leaves that key point then the cam switch back to his normal cam.
what are the nodes and configuratins(conditions) to allow me to control the cam change between then based on the conditions i’ve told, i know which i must use some collision boxs on each spot and add a cam on that area, then i want how to attach the "new camera to that “collision box” then how to make the game switch between, what are the basic nodes and BP to make then switch based on the conditions i will add later.
And it is added on the "level blueprint or the character BP?
and also how to stop those weird zooms.
any help is wellcome.