Search the Community
Showing results for tags 'fpsplayer'.
-
Hi All I admit I am a newbie to Leadwerks so apologies if my question is trivial. I have tried searching the Forums for an answer. I have the Pro version of Leadwerks and am using it mostly as a learning tool. I do have some long term aspirations for a research project that may require the use of the engine. I have therefore only dabbled and am learning Lua script from a recently purchased book at the same time. I am finding the engine very versatile and great fun. I have been working through Jon Theunissen's excellent Youtube tutorials on Lua scripting. When I make a small map I want to drop the FPSPlayer into the scene to test it. I generally start a new project from the project manager. When I drop the FPSPlayer from the Assets/prefab/player folder onto the scene and press the Run button to test, I do get the walking sound but no movement. I have checked the FPSPlayer is present in the Scene/Models tab and the script is set to 'FPSPlayer.lua' Something is obviously working since I do get the walking sound but I cannot move or rotate the camera. What am I doing wrong?. Again apologies for such a trivial question but I am stuck. Thanks in advance
-
I have a player, that can go to a point ( a pivot that is set by a camera pick) When I place the pivot on the same position as a crawler , the player glitches out and freezes towards (0,0,0) and i dont know why. After that you cant move the player. For me it makes no sense why it glitches, since the mosterAi does the same without any problems. http://pastebin.com/1qNrf1YA heres the part of the script that is in the updatephysics function.