Pryme8 Posted August 15, 2016 Share Posted August 15, 2016 BJS - [09:42:58]: MeshImpostor only collides against spheres. is the error im getting when I try to change my ground imposter to a mesh, and my player to a sphere... ground.body = ground.setPhysicsState(BABYLON.PhysicsEngine.BoxImpostor, { mass: 0, friction: 0.0001, restitution: 0.0 }); player_box.body = player_box.setPhysicsState(BABYLON.PhysicsEngine.SphereImpostor, { mass: 1.0, friction: 0.0001, restitution: 0.0});http://www.babylonjs-playground.com/#HS28D#1 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 15, 2016 Author Share Posted August 15, 2016 ground.body = ground.setPhysicsState(BABYLON.PhysicsImpostor.HeightmapImpostor, { mass: 0, friction: 0.0001, restitution: 0.0 }); player_box.body = player_box.setPhysicsState(BABYLON.PhysicsImpostor.CylinderImpostor, { mass: 1.0, friction: 0.0001, restitution: 0.0}); fixed it. Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 16, 2016 Share Posted August 16, 2016 I really like your shader , how apply textures to it ???http://babylonjs-playground.com/#2DGBVF#0 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 16, 2016 Author Share Posted August 16, 2016 8 hours ago, Nabroski said: I really like your shader , how apply textures to it ???http://babylonjs-playground.com/#2DGBVF#0 thanks sir, the texture sampling part is not done yet, it will be soon though. I will let you know when thats done, prolly near the launch of Teriable - Infinity Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 16, 2016 Share Posted August 16, 2016 Small hint: on modern browsers (edge, chrome, firefox) you can use the apostrophe to provide multiline of strings: http://www.babylonjs-playground.com/#HS28D#2 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 16, 2016 Share Posted August 16, 2016 1 hour ago, Pryme8 said: thanks sir, the texture sampling part is not done yet, it will be soon though. I will let you know when thats done, prolly near the launch of Teriable - Infinity Hello i know you working on your own thing, if you find any time. It would be also nice if i have the ability to apply bump material to all levels, so its easy to cheat geometry and still provide low poly it would be also nice, if their is an other level the 5th level for grass, https://doc.babylonjs.com/extensions/Fur (with a bit tweaking) should be blended with ground. so i can look down an see ground beneath grass. also a lerp or random mode for grass intensity over the landscape could be helpful. its probably challenging, i'm sure the end you got a pretty environment setup Thank you Best Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 16, 2016 Author Share Posted August 16, 2016 http://pryme8.github.io/TERIABLE/shader.html Sure, let me know what else you are thinking... is 3 alternate tiles of each good you think? Im working on the first couple passes of textures now. Ill look into the Grass as well, but Im thinking thats gonna happen once I program in bioms Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 16, 2016 Author Share Posted August 16, 2016 *** update, got one zone done. Quote Link to comment Share on other sites More sharing options...
Nabroski Posted August 16, 2016 Share Posted August 16, 2016 holy crap! awwwww 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.