HomeHome  SearchSearch  RegisterRegister  Log inLog in  

Share
 

 Problem when set particle position

Go down 
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 ?

_________________
Problem when set particle position A824d8828e17173a5d5b383b8744118b28a79bc96c7deba8910bed109308d4304g
Back to top Go down
Juff
Developer


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

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!

_________________
Problem when set particle position A824d8828e17173a5d5b383b8744118b28a79bc96c7deba8910bed109308d4304g
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

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