MrIslomaniac Posted February 1, 2010 Posted February 1, 2010 Hi JGuys Here is the thing: I am trying to elevate the terrain at any x and y coordinates with this code: for(int i = x+256;i<x+256+5; i++){ for(int o = y+256;o<y+256+5; o++){ SetTerrainHeight(Terrain, o, i, TerrainHeight(Terrain,o,i)+0.001 ); } } the +256 is because the terrain 0,0 is at -256,-256 The terrain raises in physics, but does not raise in visual(but somewhere else) Here is a pic: http://img202.imageshack.us/img202/1366/weirdh.jpg I hope you can help me... I would even say that there is a mistake in Josh's code ... When I move on the Z Achsis and i get physics on Z achsis, but the visual on X- achsis ... Posted it in the Bug Tracker: http://leadwerks.com/werkspace/index.php?/tracker/issue-66-small-axis-mistake/ Quote
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.