Hi guys,
I am sorry if this question or something similar that could help me to solve this "problem" has already been asked and answered. I did some research through Google, the UDN and UDKC, that kind of half-fixed the "problem".
Here's an explanation :
I had an idea recently of what kind of stuff I could try to do on the UDK, but I am already getting stuck.
Basically, my idea would be some kind of side-scroller game (Like Super Mario, by example) in a 3D environment.
STOP ! No, I am not talking about just making a standard side-scroller.
A side-scroller (Like Super Mario, still) happens in a plane world, like if you were watching a sheet of paper from above and drawing a line that goes from the left to the right. (the line being the character, going from the start, to the end of the level)
The idea I had, is that we take the sheet of paper, we attach the left part to the right part (so it makes a cylinder), and we draw the line INSIDE of the cylinder.
What I would like to do, is that the camera we use for the 3rd person view is placed in the middle of the cylinder (locked on the character we play, obviously).
Actually, this is not that hard to do, I know.
But what I am not able to do is that the camera can ONLY MOVE (translation) on the Z-axis (vertically), so it follows the character if it goes higher or lower in the level/cylinder. And (obviously) the camera can 'turn on itself' (<- not sure if that's how we say that in English) to follow the character when it goes to the left or the right in the level/cylinder .
Does anybody have any idea how to do that, please ? (or can redirect me to a thread/tutorial I could have missed that talks about it)
Thank you in advance, have a great day.
Edit : Sorry if this is the wrong section to post this kind of question, I was not sure where I was supposed to post this.
I am sorry if this question or something similar that could help me to solve this "problem" has already been asked and answered. I did some research through Google, the UDN and UDKC, that kind of half-fixed the "problem".
Here's an explanation :
I had an idea recently of what kind of stuff I could try to do on the UDK, but I am already getting stuck.
Basically, my idea would be some kind of side-scroller game (Like Super Mario, by example) in a 3D environment.
STOP ! No, I am not talking about just making a standard side-scroller.
A side-scroller (Like Super Mario, still) happens in a plane world, like if you were watching a sheet of paper from above and drawing a line that goes from the left to the right. (the line being the character, going from the start, to the end of the level)
The idea I had, is that we take the sheet of paper, we attach the left part to the right part (so it makes a cylinder), and we draw the line INSIDE of the cylinder.
What I would like to do, is that the camera we use for the 3rd person view is placed in the middle of the cylinder (locked on the character we play, obviously).
Actually, this is not that hard to do, I know.
But what I am not able to do is that the camera can ONLY MOVE (translation) on the Z-axis (vertically), so it follows the character if it goes higher or lower in the level/cylinder. And (obviously) the camera can 'turn on itself' (<- not sure if that's how we say that in English) to follow the character when it goes to the left or the right in the level/cylinder .
Does anybody have any idea how to do that, please ? (or can redirect me to a thread/tutorial I could have missed that talks about it)
Thank you in advance, have a great day.
Edit : Sorry if this is the wrong section to post this kind of question, I was not sure where I was supposed to post this.
Comment