playMaker

Author Topic: Trying to spawn object at particle resting place  (Read 1299 times)

Tangled Rays

  • Playmaker Newbie
  • *
  • Posts: 42
Trying to spawn object at particle resting place
« on: October 08, 2019, 03:44:49 AM »
Hi all, although I am storing the final resting position of the particle in a variable, that variable is not available to the 'Move Object' action, any ideas how I should go about this? Thanks for any help :)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Trying to spawn object at particle resting place
« Reply #1 on: October 08, 2019, 06:47:37 PM »
Hi.
Try Set position

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Trying to spawn object at particle resting place
« Reply #2 on: October 09, 2019, 09:03:08 AM »
You want to spawn something at the coordinates of a particle that has become immobile?

Tangled Rays

  • Playmaker Newbie
  • *
  • Posts: 42
Re: Trying to spawn object at particle resting place
« Reply #3 on: October 09, 2019, 12:50:12 PM »
Yes, I have the particle set up so that it spawns an immobile sub particle at the point it's speed is less than 0.3, which works just fine, but the PlayMaker script only ever spawns at the root of the level start or the particle root, not the actual particle. I've tried every combination I can think of and even asking the object to move after spawning doesn't seem to work, it still moves to the point of origin instead of the particle.
 Thanks for any help :)

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Trying to spawn object at particle resting place
« Reply #4 on: October 10, 2019, 06:16:33 AM »
So in other word, it looks one level too high in the hierarchy of your scene. It looks like it is unable to actually understand the coordinates of the particle or sub-particle.
Have you set your emitter so particles are emitted in World Space and not Local Space? Check Simulation Space.

I think the new action will require these too:
Particle
ParticleSystem.GetParticles
ParticleSystem.Particle.position

Tangled Rays

  • Playmaker Newbie
  • *
  • Posts: 42
Re: Trying to spawn object at particle resting place
« Reply #5 on: October 10, 2019, 01:35:50 PM »
Thanks for having a look :) Ill have a nose see if I've overlooked that