MrIslomaniac Posted July 14, 2010 Share Posted July 14, 2010 If anyone can approve these bugs, I would be so pleased: Terrain = CreateTerrain(512); SetTerrainHeight(Terrain,260,260,1); Here I do not see anything, in Physicsdebug I do see the terrain... Terrain = CreateTerrain(512); ScaleEntity(Terrain,Vec3(4,100,4)); SetTerrainHeight(Terrain,260,260,0.03); or Terrain = CreateTerrain(512); SetTerrainHeight(Terrain,260,260,1); Here a simple CreateBox does not interact correctly with the terrain ... Greetings fellas Quote Link to comment Share on other sites More sharing options...
ZioRed Posted July 15, 2010 Share Posted July 15, 2010 What does it mean "does not interact"? Also may be more helpful if you post the code. Quote ?? FRANCESCO CROCETTI ?? http://skaredcreations.com Link to comment Share on other sites More sharing options...
Canardia Posted July 15, 2010 Share Posted July 15, 2010 You can't scale terrains with ScaleEntity, because the physics shape is already created and cannot be changed. You can make your own LoadTerrain() function, which creates a micro-sbx file with terrain only, which has also 4 meter per tile setting, and uses some blank white heightmap, and then loads the micro-sbx file. I think that should be part of gamelib, since it's quite nice to have. 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...
MrIslomaniac Posted July 15, 2010 Author Share Posted July 15, 2010 What does it mean "does not interact"? Also may be more helpful if you post the code. Well I posted the relevant code ... Other things are just a rendering frame, a mmoveable camera and a box. You can see the "wrong interactions" in the pictures. @Lumojaa: It also happens, when I do not scale the terrain, not so strong as in the pictures, but it occures ... and what about this case? Terrain = CreateTerrain(512); SetTerrainHeight(Terrain,260,260,1); No graphical terrain anymore, just physics Quote Link to comment Share on other sites More sharing options...
Canardia Posted July 15, 2010 Share Posted July 15, 2010 No graphical terrain anymore, just physicsThat was fixed in 2.32R6. 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...
MrIslomaniac Posted July 15, 2010 Author Share Posted July 15, 2010 Well the updater says, I am up to date, do I have to download it anywhere else? AH NVM, just found out why ... But the terrain Bug with height 1 still isn't fixed Hehe, it only shows the terrain, when the height is under 0.5 I would really love to load a sbx file, but i need to change the terrain in code, so is there any way i can get a terrain from a sbx-file? Quote 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.