Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 Problem when set particle position

Go down 
3 posters
AuthorMessage
youngvleo




Messages : 2
Date d'inscription : 2013-03-21

Problem when set particle position Empty
PostSubject: Problem when set particle position   Problem when set particle position Icon_minitimeThu Mar 21, 2013 12:05 pm

Hi everyone,

Just a newbie question. I've setup a particle smoke for my ship with Irrlicht. When the ship moves forward, update my particle with zone::setPosition() so it goes along with the ship.

However, while the ship moving I rotating the camera around the ship, and the particle disappears at some specific camera angle. Is there anything wrong when I update my particle position?

Notice that if rotate camera when ship first borned and stoped, the particle goes quite well.

Thanks in advance!
Back to top Go down
Darktib
Committer
Darktib


Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

Problem when set particle position Empty
PostSubject: Re: Problem when set particle position   Problem when set particle position Icon_minitimeSat Mar 23, 2013 1:22 pm

That is quite weird... Can you post the code ?
Back to top Go down
Juff
Developer



Messages : 539
Date d'inscription : 2009-07-14
Age : 42

Problem when set particle position Empty
PostSubject: Re: Problem when set particle position   Problem when set particle position Icon_minitimeSat Apr 06, 2013 6:36 am

Cant you use an IrrlichtSystem with particles emitted in world space and attach it to the boat ?
Back to top Go down
http://spark.developpez.com
youngvleo




Messages : 2
Date d'inscription : 2013-03-21

Problem when set particle position Empty
PostSubject: Re: Problem when set particle position   Problem when set particle position Icon_minitimeSun Apr 07, 2013 11:49 pm

Sorry for late reply, was really busy working these days.
I resolved this problem myself this morning. I didn't invoke enableAABBComputing(true) for my group so all this weird happened.
Thanks a lot anyway Very Happy
Back to top Go down
Darktib
Committer
Darktib


Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

Problem when set particle position Empty
PostSubject: Re: Problem when set particle position   Problem when set particle position Icon_minitimeMon Apr 08, 2013 9:44 am

Perfect!
Back to top Go down
Sponsored content





Problem when set particle position Empty
PostSubject: Re: Problem when set particle position   Problem when set particle position Icon_minitime

Back to top Go down
 
Problem when set particle position
Back to top 
Page 1 of 1
 Similar topics
-
» particle vs particle collision demo
» disable/enable/hide particle system
» Action Particle getAge() always zero
» Spark Particle Engine with D3D API
» Spark opengl 64 bit

Permissions in this forum:You cannot reply to topics in this forum
 :: English Forum :: Questions (en)-
Jump to: