Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

Wait for terrain generation
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=23&t=674
Page 1 of 1

Author:  korbus [ Fri Jul 08, 2016 10:11 am ]
Post subject:  Wait for terrain generation

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. =)

Author:  David Williams [ Mon Jul 11, 2016 6:58 am ]
Post subject:  Re: Wait for terrain generation

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/