Raul Posted March 23, 2010 Share Posted March 23, 2010 I know there must be a really easy solution. I made a little map in the editor. I loaded in my game, but my player (which is represented by a Controller) is falling through the terrain. What should I do? Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Raul Posted March 23, 2010 Author Share Posted March 23, 2010 I found. I forgot to call "Collisions();" after loading the scene :| Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Elmar Posted March 30, 2010 Share Posted March 30, 2010 But i can't eliminate this difficulty. My controller is falling again. How you did it? Quote Link to comment Share on other sites More sharing options...
Raul Posted March 30, 2010 Author Share Posted March 30, 2010 Actually when I had that problem I used 2.0 SDK. After loading my map I had to call the Collision() function. Nothing special. After installing 2.3 I had no issues regarding the terrain collision. Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Elmar Posted March 30, 2010 Share Posted March 30, 2010 I can't keep my controller on the scene. Can you post your code? Quote Link to comment Share on other sites More sharing options...
ZioRed Posted March 30, 2010 Share Posted March 30, 2010 I can't keep my controller on the scene. Can you post your code? Something like: Collisions(1, 2); TEntity scene = LoadScene("abstract::yourscene.sbx"); EntityType(scene, 2); TController player = CreateController(); EntityType(player, 1); SetBodyMass(player, 1); Quote ?? FRANCESCO CROCETTI ?? http://skaredcreations.com Link to comment Share on other sites More sharing options...
Elmar Posted March 30, 2010 Share Posted March 30, 2010 I did everything but my controller don't stand on the scene. Maybe i have problems with my terrain? Quote Link to comment Share on other sites More sharing options...
Raul Posted March 30, 2010 Author Share Posted March 30, 2010 I do not thing the terrain is the problem. When you generate the Controller whats the Y pos? You must have the Y Pos a little higher otherwise the controller could be generated under the terrain and fall off. Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Joh Posted March 30, 2010 Share Posted March 30, 2010 Are you using the Leadwerks terrain? Or it's your own map (mesh)? Quote Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10. 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.