New particle system
Moderator: Developers
- Zefz
- Squirrel Knight (Administrator)
- Posts: 3820
- Joined: Wed Jul 23, 2008 1:27 am
- Location: Norway
- Contact:
New particle system
The new particle system doesnt work correctly. I still cannot spawn any particle image higher than 255.
- Zefz
- Squirrel Knight (Administrator)
- Posts: 3820
- Joined: Wed Jul 23, 2008 1:27 am
- Location: Norway
- Contact:
Yes, I do have newest revision.
I found two bugs with the SpawnAttachedSizeParticle.
1. The particle simply does not appear if it is attached it seems. If I disabled the attachment effect then the particle spawns where it should.
2. prt_set_size() used in SpawnAttachedSizeParticle also doesn't work. Both ACTIVE_PRT() and !DEFINED_PPRT() is stopping it from changing size. (although the spawn_particle() function returns a particle index without failing to spawn anything).
I haven't checked out End Spawn particle yet.
[edit]
index == 35 name == "import\temp0001.obj\part0.txt" create_count == 285 request_count == 285
part0.txt is spawned through SpawnAttachedParticle
[/edit]
I found two bugs with the SpawnAttachedSizeParticle.
1. The particle simply does not appear if it is attached it seems. If I disabled the attachment effect then the particle spawns where it should.
2. prt_set_size() used in SpawnAttachedSizeParticle also doesn't work. Both ACTIVE_PRT() and !DEFINED_PPRT() is stopping it from changing size. (although the spawn_particle() function returns a particle index without failing to spawn anything).
I haven't checked out End Spawn particle yet.
[edit]
index == 35 name == "import\temp0001.obj\part0.txt" create_count == 285 request_count == 285
part0.txt is spawned through SpawnAttachedParticle
[/edit]
-
- {]-[0{0|307 (Developer)
- Posts: 1864
- Joined: Wed Jul 23, 2008 4:22 am
- Location: Minnesota, USA
ARGH! This whole thing about the state of the particle's initialization is so difficult to get right. Sometimes it is important to be fully initialized, but for all functions that are used on initializing objects, they need to accept uninitialized...
--------------------------
Looks like I fixed the resizing problem, but there is still a problem with the attached particles not despawning.
--------------------------
Looks like I fixed the resizing problem, but there is still a problem with the attached particles not despawning.