Skip to content

Destroying placeables immediately

Is there any way to make a placeable disappear immediately? DestroyObject has a considerable delay, and the JumpToLocation/JumpToObject functions don't seem to work on placeables, so the workaround I had in mind is not possible (teleporting the placeable somewhere far away and then destroying it). Any ideas?

Comments

  • Sylvus_MoonbowSylvus_Moonbow Member Posts: 1,085
    Perhaps CutSceneInvisibility and then destroy the placeable?
  • gpeddinogpeddino Member Posts: 51
    edited September 2020
    Doesn't work either. =(

    I think the problem is related to the type of placeable I'm using: one of the new "Light" placeables under Visual Effects. As they don't have a physical body (just the light effect attached to nothing), I guess that's why Invisibility won't work.
  • meaglynmeaglyn Member Posts: 151
    Did you try RecomputeStaticLighting() since it's a light source you are removing?
  • ProlericProleric Member Posts: 1,316
    Worth trying - CutSceneInvisibility works for regular placeables.
  • gpeddinogpeddino Member Posts: 51
    Something worked! I first called SetPlaceableIllumination as FALSE for the placeable and then RecomputeStaticLighting and DestroyObject. That did the trick. Thanks everybody!
Sign In or Register to comment.