Forum Discussion

VR_Adventures's avatar
VR_Adventures
MHCP Member
10 months ago

Object Spawning and Despawning?

Hey everyone can anyone tell me if object spawning and despawning will work for this objective.   I want to create an asset that works as a trigger another item and when you untouch it the item disappears?  So an example I create a book.... A player touches it and it opens a page large so that they can read it and when they untouched a book or after several seconds the page disappears?   

Is object spawning and despawning the way to do this or is this not possible?  

 

Thanks, VR_Adventures

4 Replies

  • You can certainly do that. The challenge Ben posted is a great place to get started.

  • Like Seeingblue said you could do this using asset spawning but it might be simpler to just set the visibility of the object on/off.

    • PablosCorner's avatar
      PablosCorner
      Meta Employee

      I agree with your suggestion to toggle the object's visibility on and off, as it will simplify the implementation. Additionally, using a text gizmo or UI to display dynamic text can effectively show different pages without the need to add extra page models or textures.