Atteach Cube to ParticleEmitter

ColeZero

02-06-2006 11:39:22

Is it possible to atteach a cube or something to a particle-emitter?..

betajaen

02-06-2006 11:40:14

You mean the particle-emitter to the cube right? If so yes.

If the cube to a particle-emitter so when the particle emitter moves, so does the cube then no. PhysX would move the cube back automagically or go mad.

Wretched_Wyx

02-06-2006 11:42:47

You can attach a particle system to a shape, but not a shape to a particle emitter. Like if you wanted a cube to have a smoke system attached to it, you could do that.

[edit]
Damn! you beat me to it betajaen! You replied only a minute after ColZero asked that question too...
[/edit]

ColeZero

02-06-2006 11:45:52

okay, thx.
Another question is it possible, to create particlesystem, which creates cubes or shape instead of textures like smoke.

betajaen

02-06-2006 11:55:20

okay, thx.
Another question is it possible, to create particlesystem, which creates cubes or shape instead of textures like smoke.


NxOgre already has it via the particle system. If you're using the CVS, checkout the smoke tutorial.

Screenshot:



And movie! http://robin.ihoed.com/nxParticles.avi

However, if you want to attach your own particle emitter or anything really to the node without supplying an entity, just set the mesh name to a blank string.


[Edit]

Oh hang on, I think I know what you mean. So say you wanted say an explosion, instead of using a texture for each particle, you'd use a mesh?

ColeZero

02-06-2006 12:05:50


Oh hang on, I think I know what you mean. So say you wanted say an explosion, instead of using a texture for each particle, you'd use a mesh?


Exactly, that is waht i mean, sory for my english..^^

btw the screen looks very cool, but the video is no longer available

betajaen

02-06-2006 12:08:41

Yeah, you could but you'd have to write particle system yourself, or if you like just write an particle emitter to the existing particle system which is geared up for that sort of thing anyway.

p.s. the Movie is even better since I updated the link.

ColeZero

02-06-2006 12:12:35

ok thx.
i'll take a look into the rocket- example there is an emitter which produces cubes instead of smoke or something