Results 1 to 3 of 3
  1. #1
    MSgt. Shooter Person
    Join Date
    Apr 2011
    Posts
    422

    Default How to spawn a particle on the floor ?

    hello guys , i went to this post http://forums.epicgames.com/threads/...loor-like-this and they told me to come here ,

    You can maybe help me on spawning an emitter on the floor since my floor is not stable , the particle must be everytime on the terrain , i want to do a circle like the picture i gave into the other post , thanks in advance

  2. #2
    MSgt. Shooter Person
    Join Date
    Dec 2010
    Posts
    102

    Default

    Create a static mesh that follows the terrain exactly, with a height at the maximum height you want for the flames. The base of the static mesh should use the texture for the ring. The area above the base should be transparent and then apply a dynamic material that makes flames - tricky but possible using masks. If you want smoke as well, just make the mesh bigger, and work more on the material. The mesh should have no collision set so that people can walk through it.

    Have a look at the waterfalls in the Envy Effects package for some ideas.

    If your terrain is mostly flat (ie there is not an enormous difference in height between the highest and lowest points) create a particle emitter that generates tall flames around the edge of a cylinder with its base set below the terrain (so just the tips of the flames stick through). The ring itself will still need to be a static mesh though, I suspect.

  3. #3
    MSgt. Shooter Person
    Join Date
    Dec 2010
    Posts
    102

    Default

    Oh, if you're not sure how to actually spawn the emitter in code:

    Code:
    var ParticleSystemComponent MySpawnedEffect;
    
    function SpawnEffect(ParticleSystem MyEffect, vector Location, rotator Rotation)
    {
        MySpawnedEffect = WorldInfo.MyEmitterPool.SpawnEmitter(MyEffects, Location, Rotation);
    }
    
    function DestroyEffect()
    {
        WorldInfo.MyEmitterPool.OnParticleSystemFinished(MySpawnedEffect);
        MySpawnedEffect = none;
    }


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.