HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  

Share | 
 

 Problem when set particle position

View previous topic View next topic Go down 
AuthorMessage
youngvleo



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

PostSubject: Problem when set particle position   Thu 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
View user profile
Darktib
Committer


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

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

That is quite weird... Can you post the code ?

_________________
Back to top Go down
View user profile
Juff
Developer


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

PostSubject: Re: Problem when set particle position   Sat 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
View user profile http://spark.developpez.com
youngvleo



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

PostSubject: Re: Problem when set particle position   Sun 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
View user profile
Darktib
Committer


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

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

Perfect!

_________________
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Problem when set particle position   Today at 9:27 am

Back to top Go down
 
Problem when set particle position
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Position
» Problem with Selenium RC, can't find objects in Junit.
» Problem with Selenium Webdriver
» Profile Customization Problem
» [ANSWERED] Winreducer Install problem

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