Laurent (Steamlead) Posted February 23, 2014 Share Posted February 23, 2014 Hi everyone, I'm trying to become familiar with LE3 and right now I'm Studying the C++ tutos. But I've got a problem with the jumping action in the "Making a First Person Camera" tutorial. After jumping, my character stays in the air until a position update occurs (by moving my character for example). It occurs with my own code and even with the code given in the page (http://www.leadwerks.com/werkspace/page/tutorials/_/making-a-first-person-camera-r15 ) Is it a bug in Leadwerks 3.0 ? Another question: I'm used to code using C++ and I ask myself if there is a way to use C++ in the actual version of LE 3.1 The lack of class mechanism in LUA is really a problem for me thanks for your help (and special thank to aggror for its work) Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 24, 2014 Share Posted February 24, 2014 C++ libraries are not yet released for 3.1. It will happen soon since Linux is pretty much working. As for the jumping. I have seen this issue before and thought this was resolved. Can you post what you have? Quote Link to comment Share on other sites More sharing options...
Laurent (Steamlead) Posted February 24, 2014 Author Share Posted February 24, 2014 As I said, I haven't done something special. I use my own code, or the code found in the page specified above I compile and run the project in VS2010 All runs well except when jumping: the character stays in the air during 2 or 3 seconds or until I move it using WSAD keys. It looks like a synch or refresh problem, but I'm not sure. I'm using the Leadwerks 3.0 trial version. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 24, 2014 Share Posted February 24, 2014 I'm using the Leadwerks 3.0 trial version. Ah that explains it. The trial is very outdated and contains numerous bugs. That includes the character controller. This was a problem more then 6/7 months ago, but the character controller has been undergoing a few optimizations since then. Quote Link to comment Share on other sites More sharing options...
MexSource Posted February 24, 2014 Share Posted February 24, 2014 until 3.1 is released you could move it every frame 0.000001 cm forward with player->PhysicsSetPosition() (or player->Input() ) don't know what i used and every second frame move it 0.000001 to the back, it will cause physics update (isn't a good solution, i know , but it's working until 3.1 is out) Quote C++ :3 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.