Announcement

Collapse
No announcement yet.

How to destroy meshes spawned on spline?

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

  • replied
    Create a variable of type Spline Mesh Component and add newly created splines there:

    Click image for larger version  Name:	Capture.PNG Views:	1 Size:	70.2 KB ID:	1495606

    Then, when you're ready, Get a component by index and destroy it.

    Leave a comment:


  • replied
    Originally posted by Everynone View Post
    Add them to an array as you create them, this will allow you to get their references back.
    Can you, please, provide more information? I trying to make array that way, but that doesnt help.
     
    Spoiler

    Leave a comment:


  • replied
    Add them to an array as you create them, this will allow you to get their references back.

    Leave a comment:


  • started a topic How to destroy meshes spawned on spline?

    How to destroy meshes spawned on spline?

    Hi guys

    I generate spline on runtime and draw some meshes on spline just for debugging purpose. Now i trying to figure out how to delete them after some time.
    Destroy component - destroy all meshes from start, so they dont even appear on screen. But if a adding little delay Destroy Component will delete only last mesh on spline.

    Attached Files
Working...
X