Hi,
model.getOrientation().setHeading(yourHeading);
where model is your model object.
Hope that helps.
Regards
Nymor
On Sep 4, 3:21 pm, ar2k wrote:
> Hi,
>
> I'm trying to place a ship model on a map from dynamic data generated by AIS
> data (in the form of an XML file). The models have been produced, the models
> place on the map perfectly however orientating the model based on the ships
> heading is proving a difficulty. I'm trying to avoid using KML files as the
> script in the page loads the XML data with the ship latitude, longitude and
> heading. Is there a command for setting the orientation of the model before
> placing it? I read somewhere about containers, would this be the solution?
>
> Page is question :
http://ardev.redfunnel.co.uk/ge.html
>
> Apologies if my code is messy, never been good at keeping things tidy! :)