Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Is it possible to have Surface Emitters?
#2
(02-07-2021, 12:50 PM)aseem.zhakaas Wrote: I have a game where i want blood to splash and pour from the part of the body where the bullet hits. Is it possible to give the Emitter a position where it should spawn the fluid particle?

Yes, you can write your own EmitterShape and provide your own spawn point(s). Just extend the ObiEmitterShape class and implement its GenerateDistribution() method to provide your own distribution points. This lets you have multiple points at once. Note each point is comprised of both a position and a direction.

Another alternative is simply moving the emitter to wherever the bullet hits.
Reply


Messages In This Thread
RE: Is it possible to have Surface Emitters? - by josemendez - 02-07-2021, 12:56 PM