thecco Posted December 27, 2013 Share Posted December 27, 2013 hi i want create particle like this. but i don't have particle image file i download looks like and using particlesystemscene.beginAnimation(Model, 0, 10, true, 1.0); var material = Model.material; if (material) { scene.beginAnimation(material, 0, 10, true, 1.0); } particleSystem.particleTexture = new BABYLON.Texture("foam.png", scene); particleSystem.minAngularSpeed = -0.5; particleSystem.maxAngularSpeed = 0.5; particleSystem.minSize = 5; particleSystem.maxSize = 10; //i think i need 10 texture // I don't know;;;;;;;;;;;;;; particleSystem.minLifeTime = 0.5; particleSystem.maxLifeTime = 1.5; particleSystem.minEmitBox = 0; particleSystem.maxEmitBox = 0; particleSystem.minEmitPower = 0.5; particleSystem.maxEmitPower = 1.0; particleSystem.emitter = Model.position; particleSystem.emitRate = 10; // I don't know;;;;;;;;;;;;;; particleSystem.blendMode = BABYLON.ParticleSystem.BLENDMODE_STANDARD; particleSystem.minEmitBox = new BABYLON.Vector3(0, 0, 0); particleSystem.maxEmitBox = new BABYLON.Vector3(0, 0, 0); // i want particle start position is model's back and fornt particleSystem.direction1 = new BABYLON.Vector3(-5, 1, -5); /// ?? TT particleSystem.direction2 = new BABYLON.Vector3(5, 1, 5); // ?? TT particleSystem.color1 = new BABYLON.Color4(0, 0, 0, 1); // start color is default particleSystem.gravity = new BABYLON.Vector3(0, 0, 0); // useless particleSystem.disposeOnStop = true; particleSystem.targetStopDuration = 0.1; particleSystem.start();anyway this code ..... how can i create perfect foam particle particle positionparticle horizontal(my case particle angle random)particle color - default(image color value)particle count control like this ㅁ <-- ship ^ ^ < particle ^ Thanks for reading the odd article Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 27, 2013 Share Posted December 27, 2013 Hello did you read this article:https://github.com/BabylonJS/Babylon.js/wiki/12-Particles It can be useful to understand parameters Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 27, 2013 Share Posted December 27, 2013 And by the way this is not so bad Just set the color1 and color2 to white and you should be almost done Quote Link to comment Share on other sites More sharing options...
thecco Posted December 28, 2013 Author Share Posted December 28, 2013 I'm not good at English. But tutorials, wiki and many examples See the source for 10 hours. This is the month of my study. But I'm a model from the position of the particle's position and how to obtain and set up, i can not found I is dyslexic? Help me ... Thank you ... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 28, 2013 Share Posted December 28, 2013 Do you speak french? Quote Link to comment Share on other sites More sharing options...
thecco Posted December 30, 2013 Author Share Posted December 30, 2013 no i can't..... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 30, 2013 Share Posted December 30, 2013 I have difficulties to understand your needs 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.