Smart Terrain doesn't work in 4.0?

January 22, 2015 - 9:50pm #1

I'm trying to get Smart Terrain to work in my project--but in 4.0 it doesn't let you drag the Smart Terrain object to the World Center property in the QCARBehaviour inspector for ARCamera.  I can drag my Image Target to it, but that's not how Smart Terrain worked in 3.0--nor is it how it works in the documentation.  Is there a bug in the Smart Terrain implementation in 4.0?  It looks like none of the behaviours on the Smart Terrain object inherit from TrackableBehaviour, hence you can't use it as World Center.

Smart Terrain doesn't work in 4.0?

January 28, 2015 - 11:05am #3

Smart Terrain doesn't work in 4.0?

January 27, 2015 - 8:20pm #2

The ImageTargets that you could drag to that field in 3.x had the ImageTargetBehaviour script which inherited from TrackableBehaviour. The "Primary Surface" object that is parented under the SmartTerrain object has the SurfaceBehaviour script attached to it which also derives from TrackableBehaviour. When you choose a specific target for WorldCenterMode, you are choosing an object with a script component attached whose class is derived from TrackableBehaviour.

Also, for the 4.x SDK, there's new API docs to reference:

Log in or register to post comments