Hi there,
I’m trying to make it so that if one entity has its position updated, a separate entity also gets updated to the same position. Is this possible to do without manually changing the position value of the second entity?
Thanks!
Hi there,
I’m trying to make it so that if one entity has its position updated, a separate entity also gets updated to the same position. Is this possible to do without manually changing the position value of the second entity?
Thanks!
In CZML you can use a Reference to indicate that one property’s value should point to another property.
https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/ReferenceValue
In the Cesium Entity layer this corresponds to a ReferenceProperty: https://cesiumjs.org/Cesium/Build/Documentation/ReferenceProperty.html
Alternatively, in the Entity layer in JavaScript you can just assign the same Property object to two different entities.