particle-emitter-problem

particle-emitter-problem

Postby rubberduck » 17 Jun 2013, 18:26

i think you can remember, that i had this problem with the sound-emitters

viewtopic.php?f=18&t=4451

now i have a similar problem, but with particle-emitters
i wanted to add an object, that uses a particle emitter in my object-collection
everytime, when i add particle-emitters in a track, the particles come out of the point, where in Blender the global middle-point (x, y,and z = 0)

when i had this sound-problem, i heard the sound on a wrong place (i noticed, that the sound played near the start)

when i opened now my spacip-track in blender again, i saw, that the place, where i heard the sound, is also the middle point in blender, so it doesn't matter, where i have my emitter-object

when i want to add only one emitter-object i could transform the whole track, until the emitting-point(for example a torch) is in the middle, but i would have a problem, when i want to add more emitters

i started the track with the console and i also opened blender with the console to export the track
i didn't notice anything there

what is wrong here?
https://notabug.org/rbduck/Nucleagacy
my puzzle / action game in godot 4
User avatar
rubberduck
 
Posts: 910
Joined: 23 Apr 2013, 18:31
Location: sitting with tux in a bathtub

Re: particle-emitter-problem

Postby Auria » 18 Jun 2013, 01:52

sorry, you will need to provide an example of a blend file that exports incorrectly, I cannot provide help without it
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: particle-emitter-problem

Postby rubberduck » 18 Jun 2013, 17:15

i have it here: http://platen-software.de/sebastian/par ... est.tar.gz

i have a blend-file and a exported track-version

when you start the track, you will see some cylinders: one red and three blue cylinders

i placed three particle emitters over the three blue cylinders, but when i export it, i see particles over the red cylinder( the red cylinder is near the center in blender)

when you start the game and you see three particle emitters over blue cylinders, so it works for you, for me it doesn't work

i also looked into scene.xml and it shows

{l Code}: {l Select All Code}
<particle-emitter kind="smoke.xml" xyz="-17.82 0.09 40.55" h="0.00">
  </particle-emitter>
  <particle-emitter kind="smoke.xml" xyz="-2.98 1.75 36.95" h="0.00">
  </particle-emitter>
  <particle-emitter kind="smoke.xml" xyz="15.38 5.76 26.37" h="0.00">
  </particle-emitter>


in the code, the particle-emitters aren't in the center, why?

i tried it now with the newest exporter-scripts (the archieve from http://supertuxkart.sourceforge.net/Ins ... he_tools_2) and i used blender 2.66 (not 2.66a or b)
https://notabug.org/rbduck/Nucleagacy
my puzzle / action game in godot 4
User avatar
rubberduck
 
Posts: 910
Joined: 23 Apr 2013, 18:31
Location: sitting with tux in a bathtub

Re: particle-emitter-problem

Postby Auria » 19 Jun 2013, 03:51

Is it possible that you are using the export scripts from latest SVN with SuperTuxKart 0.8? If you use the latest scripts then you also need to use the latest SVN version of STK, since some things in tracks changed.

In my SVN build of STK, this is what I see
Attachments
particles.jpg
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: particle-emitter-problem

Postby rubberduck » 19 Jun 2013, 13:29

it works now
https://notabug.org/rbduck/Nucleagacy
my puzzle / action game in godot 4
User avatar
rubberduck
 
Posts: 910
Joined: 23 Apr 2013, 18:31
Location: sitting with tux in a bathtub

Who is online

Users browsing this forum: Google [Bot] and 1 guest