Hi Gabby,
How can we find the rotation angle of an aircraft??
for eg :
if an aircraft gets tilt by an angle at some point, now how can we get that angle by which it has got tilt??
Thank you in advance..
Regards,
Shubham M
Hi Gabby,
How can we find the rotation angle of an aircraft??
for eg :
if an aircraft gets tilt by an angle at some point, now how can we get that angle by which it has got tilt??
Thank you in advance..
Regards,
Shubham M
Hi Shubham,
You can get an entity’s orientation property, like so:
entity.orientation.getValue(viewer.clock.currentTime);
``
That returns a Quaternion, which you can convert into HeadingPitchRoll.
Thanks,
Gabby