Shard Posted April 14, 2010 Share Posted April 14, 2010 I just did an update minutes ago and the character controller won't work anymore. I've attach a picture with the Run Time Failure and it has something to do with the Function Pointers in Engine.cpp Code TController player = CreateController(1.8,0.4,0.5,45); //<------ Breaks after executing this EntityType(player,1); SetBodyDamping(player,0.0); SetBodyMass(player,100); Quote Programmer/Engineer/Student www.reikumar.com 2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM C++ - Visual Studio Express - Dark GDK - Leadwerks SDK Link to comment Share on other sites More sharing options...
Canardia Posted April 14, 2010 Share Posted April 14, 2010 You managed to hide the only important functions with your error dialog box, so it's hard to tell if you have the wrong header file But you probably are using the wrong header file, since the last parameter should be crouchheight. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Shard Posted April 14, 2010 Author Share Posted April 14, 2010 My apologies. I was being silly. I forgot to move the new engine files to my project folder :/ Sorry about that all. /thread Quote Programmer/Engineer/Student www.reikumar.com 2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM C++ - Visual Studio Express - Dark GDK - Leadwerks SDK Link to comment Share on other sites More sharing options...
Canardia Posted April 14, 2010 Share Posted April 14, 2010 You shouldn't put engine files into your project folder, but rather change your include directories to point to the SDK folder. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Shard Posted April 17, 2010 Author Share Posted April 17, 2010 You shouldn't put engine files into your project folder, but rather change your include directories to point to the SDK folder. Thanks, I should have definitely done this a long time ago. Quote Programmer/Engineer/Student www.reikumar.com 2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM C++ - Visual Studio Express - Dark GDK - Leadwerks SDK 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.