It is currently Wed Nov 20, 2019 4:56 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Wait for terrain generation
PostPosted: Fri Jul 08, 2016 10:11 am 

Joined: Fri Jul 08, 2016 9:36 am
Posts: 1
Hello,

In the Quick Start guide for the Terrain Example, we lift our player character above the ground to make sure the terrain has enough time to generate. What are better ways to handle that?

Been searching through the code to see if there's a way to check that the terrain has been generated but I'm not seeing it (yet).

Thanks in advance! Love the asset. =)


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Wait for terrain generation
PostPosted: Mon Jul 11, 2016 6:58 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
You should be able to use Volume.OnMeshSyncComplete for this. The terrain example which comes with Cubiquity uses this to spawn some rigid bodies once the terrain is loaded.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net