problems with rotation with visual editor

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Edwart
Posts: 46
Joined: Fri Dec 30, 2005 12:29 pm

problems with rotation with visual editor

Post by Edwart »

hi

i use the visual editor 0.4. i added a model "playernode" (starship) which i control in a free space. i added a particleemitter as child of this node.
when i flight straight ahead there are no problems. but when i turn around, the particles dont rotate with the node and i get design errors of the particles. the particels looks very strange.

can anybody help me what i have to do in the editor, that the particle rotate with the ship?

Thank you
Edwart
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

It's not related with editor by me but with CParticleSystemSceneNode implementation. I made some tests and found thath this effect appears when local emiter and rotaion of parcticle scene node are used. That's not related with parent node, but with rotation of particle scene node by x or z axes:

On the first screen we have parcticle scene node with 0 degrees rotation by x and z axes:

Image

Now on the second screen is the same node but rotated by 90 degrees by z axis and looked by another camera position:

Image
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Post Reply