About CesiumSubScene

hello, I want to create many 3D Model points around the earth, can i config the reference “activation Radius” much big? becase i don’t want give every point a cesiumglobeanchor。
am i right?

image

Hello @beyondlei99,

This tutorial section gives a good discussion of when to use CesiumSubScene vs. CesiumGlobeAnchor: Cesium for Unity Georeferenced Sub-scenes – Cesium

In summary, CesiumSubScene is good when:

  • You have a scene that is localized at some point on the globe (e.g., a scene within a city)
  • You want typical in-game features to work at that point, that otherwise may break with origin shifting (e.g., physics simulations of non-Cesium objects)
  • You want non-Cesium objects to be hidden and inactive when you’re not at that localized scene

There’s nothing inherently wrong with using a lot of CesiumGlobeAnchors. It requires some computation every frame, but that may simply be necessary for your use case. If your 3D models are all far away from each other, then CesiumSubScene may not be the best solution.

I hope that explanation makes sense – let us know if you have any follow-up questions!

thank you for your reply!