Hi,
I’m trying to get the camera to maintain the height when colliding using the camera pull forward strategy, I cant use preserve camera height since the camera looks down when you approach it.
Is there any way to maintain the height of the camera with the camera pull forward strategy?.
Preserve Camera Height is the way. I don’t understand why you can’t use it. What do you mean “it looks down when you approach it”?
I’m using a free look camera, this camera have an asociated object in “look at” and “follow” therefore when the camera colliding against a wall and the character is very close, the camera that is looking to character is be tilted down. I need keep the camera look forward when the camera is colliding.
In that case maybe your LookAt should be something else, since in some cases you don’t want to be looking at the character. Could you perhaps make an invisible target to look at, that you place at some distance away from the character in the appropriate direction?
Edit: Actually there is perhaps another solution. If I understand correctly, you want the collider to just move the camera, not rotate it, is that right? If so, you can make a very small modification to the collider, to make it do its work after the camera has been aimed. Right now , it’s doing its work before the camera is aimed.
What version of CM are you using?
I think so, I have recorded a video so you can see how it works actually, I don’t want the camera rotating at X axis (I think that is the axis from top to bottom) I just want the camera rotate from left to right, basically how it works the “pull camera forward” but keeping the height.
CM version is 2.1.10.
I have adjusted the pull camera forward parameters to force the height and now looks nice, I should have tried this first. Anyway, thanks for the help and for creating this cameras, they are so great!
1 Like