Hello I have made a character already and is currently working on a level. See screen below…but while making the level I was thinking it would be good to test the level as well from the player’s point of view. Right now the character is just a model, I know how to setup basic controls but I want something more refined.
Basically the character needs to have a cylinder bound around him, the camera needs to be parented to an empty that is in the center of the character bound. Then the empty needs to be parented to the cylinder and the character model to the cylinder as well.
The cylinder is the object that is going to move around in the scene. Controls would be:
W-Walk forward
A-Walk left (Character faces to the left)
D-Walk right (Character faces to the right)
S-Walk backward (Character faces towards the player)
The camera needs to be able to detect collisions and have a slow parent on it. Also with space the character should be able to jump.
Anyone who thinks you would be able to help me with this?
EDIT: Yeah and by pressing left/right arrow the empty will rotate…and the camera will go with it. When you press W A or D the camera will go back again behind the character…
Well tbh I know how to do everything except making the character face the direction I’m going towards. Like if I press A for him to go left and face left. He has to rotate a certain number of degrees, if he is facing foward he needs to rotate 90 degrees. But what if he is facing right? Hmm one could probably do it by using states, like if player faces right rotate that many degrees when you press left. (180)
But I don’t understand states and it gives me headaches Also I don’t know how to make the camera detect collision and at the same time have slow parent on it. I’m a noob at logic/python Anyway maybe I can attract someone with the help of a new screen of the level.
Btw all textures hanpainted so don’t whine over them looking shit No photos or anything…also the game is going to take place in the lord of the rings universe:eyebrowlift2:
Looks pretty good Gudra! In terms of characters facing the direction they’re moving towards, I used IPO animations. Cheap and not the greatest, but works ok.
Hmm you mean making the entire skeleton of the character rotate when you push the left arrow key? Wouldn’t that conflict with the run cycle and attack animations? Or maybe not?
I tried doing it with ipos or through the action editor…But I ran into problem…I thought it was I had to put the servo motion acutators to local. But somehow he is facing the other way…hmm I’m going to play around with it some more. Otherwise maybe you could explain it in more detail
EDIT: Also I should add that I would like him to be able to move north east and south west etc too…like move diagonally. 360/8=45 45 degrees…actually I just realized something instead of using ipos wouldn’t it be possible to use ROT and then make the servo motions local. So whatever direction he i facing that is Y or X or whatever?
EDIT2: Actaully I think I need some help with this…it’s all very confusin O.o
EDIT:3 I just realized this is the wrong forum…lock this topic mods;)