Particles?

grizzley90

02-02-2006 00:23:31

Does ogrenewt do anything to particles (like fireworks)? will they fall to the ground or float? How do i set the physics of a particle?

grizzley90

02-02-2006 01:16:53

Oh and what about dotscene? Is that supported? can i still add collision to .mesh's in the scene.bin?

OvermindDL1

02-02-2006 01:25:34

Particles in ogre can have effectors (sp?) put on them that modify how they act. Having particles be part of a collision system would be... intensive... putting it mildly. :)

walaber

02-02-2006 04:02:32

Newton (and therefore OgreNewt) does not have any built-in particle collision functionality.

however this has been mentioned as a potential new feature for Newton, so we can hope :)


as for dotScene yes, you can use it with OgreNewt. you need to get a pointer to the Vertices from the dotSceneManager, and use that to create TreeCollision bodies.

OvermindDL1

02-02-2006 05:30:26

Wouldn't suddenly adding like 6k moving particles do a pretty nice hit to the engine though?

walaber

02-02-2006 07:07:10

of course. but you don't really want to use physics for such large particle systems... I think you would prefer to use physics for smaller-scale systems that realy need accurate collision respone, such as sparks, or particle-based smoke/sprays, etc.

it wouldn't make sense to use physics processing on falling snow, for example.

grizzley90

02-02-2006 12:51:45

ok thanks.. I wouldn't use it for anything large but smoke is a must and must react with something in a project im doing. As for dotscene shouldn't be too hard. Thanks for the info. Can't wait for particle physics :P