Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Closed loop rope, move particles to stretch it
#3
(Yesterday, 12:20 PM)josemendez Wrote: Hi there!

TeleportParticle() won't do anything if the particle referenced by the index does not exist, or if the actor has not been loaded into the solver yet. So by calling it on Start() you may be calling it before the solver has had a chance to initialize itself and loaded the actor.

Either check actor.isLoaded to see if the actor has been added to the solver, or call it on actor.OnBlueprintUnloaded() instead.

kind regards,
The particle is active in Start because i print various debug messages there to check if the blueprint is there and how to access it.
I found this problem with the teleport function in various occasion. Also the fact that i am changing the elastic global position using its transform instead of the Teleport() is because i noticed it was not working when i used it.

I actually use the teleportparticle also in start and the postion is changed if i reprint it but it is not physically moving.

i was thinking if it was possible to create in advance a new blueprint with the positions i want and then upload it. I tried to look around on how to do that but i don't know how to call the blueprint saved in memory
Reply


Messages In This Thread
RE: Closed loop rope, move particles to stretch it - by alicecatalano - Today, 10:26 AM