Announcement

Collapse
No announcement yet.

grass growing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    grass growing

    Hi!

    I have made grass with blueprints. After player collide grass blueprint it destroyed. But know I want that for example 5minutes after destroying grass is again spawning. How that can be done? Do I need use target points or some other stuff in grass blueprint

    Here is screenshot about when colliding grass it spawn shorter, but want that spawnactor grass2 after that about 10-15 seconds it spawns again original grass3

    Click image for larger version

Name:	graass.jpg
Views:	1
Size:	434.8 KB
ID:	1196056
    Last edited by tero83; 09-29-2016, 02:34 AM.

    #2
    Don't destroy the grass, but make it look like it was destroyed. Set a timer in the blueprint that reverses whatever you did to mimic that destruction.
    Marketplace code plugin: AesTargeting - Make your Actors targetable =)

    Comment


      #3
      yes thanks. Do i have to replace hole destroy actor for that set timer system??

      Comment


        #4
        Right after the 'Delay' node, remove the spawn BP from class. Instead set the static mesh of the grass to Not Visible, and the collision on the box to none.
        After those nodes, use a 'Set Timer by Event' node for X amount of seconds, and then reverse the Visibility and the Collision from above.

        If you haven't used timers yet, it would look like this:

        (From Google)
        https://answers.unrealengine.com/sto...rs_in_ue49.png
        Marketplace code plugin: AesTargeting - Make your Actors targetable =)

        Comment

        Working...
        X