Closed sebastienaubry closed 6 years ago
Hi @sebastienaubry, see this comment: https://github.com/AnalyticalGraphicsInc/cesium/pull/6738#issuecomment-401419826
You can set the orientation
property for your model. It would look something like this:
"position" : {
"cartographicDegrees" : [longitude, latitude, height]
},
"orientation" : {
"unitQuaternion": [ x, y, z, w ] // compute values using method in #6738
},
"model": {
"gltf" : "..."
}
If you have any follow up questions, please ask them on our forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev We use GitHub exclusively for tracking bugs and planning new features. Thanks!
A better solution would be to fix the model itself, but if you can't update the model then @hpinkos' suggestion would be the best way to go.
Here is the follow-up.
Hi,
Since release 1.47, the following change has made my aircraft move sideways:
I am using a CZML file and the aircraft models from https://github.com/Ysurac/FlightAirMap-3dmodels.
In #6738 I could not find the way to fix my CZML files.
Thanks