One of my student is trying to create a battling game. His “player” is a knight with a shield and a sword and he will battle various characters available in the library like the pirate mates and the pirate captains. We are encountering multiple problems.
(Question 1) When I attach the knight to the camera (under the camera) and try to “play,” the knight falls whenever I use the mouse to change my view. I have played around with the physics of the knight using various mass and friction but have not been able to figure it out. I know that it works fine if the physics mode is turned off but in order to do the battling, I think the physics mode has to be turned on, doesn’t it? Has anyone done a battling scene/game with swords and shields in CoSpaces?
(Question 2) My student also wants to change the functions of up, down, left and right arrow. He wants the same functions to be kept so that both the camera and the knight are moved when the up, down, left and right arrows are pressed. But in addition to that, he’d like the animation of his “player” - the knight - to be changed to walking while the key is being pressed. Does anyone know how to do this?
Any ideas will be appreciated. Thank you!