Sign in to follow this  
Guest hefy_jefy

Attach Point rotation

Recommended Posts

So I read everything in the 2004 SDK and it looked very easy. I found the scenery object that I wanted (gen_beconlandcone) and then attached it to an object in Gmax, then animated both objects in the usual way, -it looked fine in Gmax. But in the sim the light beam rotated 90 degrees so it was pointing straight up, and presumably is rotating around its own long vertical axis, while the original gmax object continued rotating as expected. I came across this a while back in the early days of Gmax - but I can't remember the trick. I tried rotating the pivot and the attach point through 90 but that didn't work.I am trying to reproduce the excellent MS rotating airport beacons, I located all the scenery objects that I needed but could not figure out how to join the three together, (base, lamp, and light) so resorted to my own base in gmax....Any ideas?Geoff

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

My first guess would be to try to rotate the object you use the attachscript on.Another option is this I think (not tested it):In the XML code (you can find it in the properties of the object) add the rotation to the attachpoint.It should look like this (example from the SDK):[tt]<?xml version="1.0" encoding="ISO-8859-1" ?>[/tt]And hopefully you can add the pitch, roll, etc like shown below:[tt][/tt]

Share this post


Link to post
Share on other sites

Hi Geoff.Do you want the original rotating beacon towers?=================================================================================That's how they are coded in XML. type can be "CIVILIAN" or "MILITARY"baseType can be "AIRPORT", "SEA_BASE", or "HELIPORT"Substitute other values as needed. If you just want a rotating beacon without the tower, then you can download this zip in which I already did the legwork:http://webpages.charter.net/ludowr/RhumbaBeacon.zipNo attaching is needed... just place it on whatever you want, as it's a stand-alone rotating light.Dick

Share this post


Link to post
Share on other sites

Hey guys thanks!Two solutions in one day, I'll give both a try...Geoff

Share this post


Link to post
Share on other sites

Thanks Dick,Just what I was looking for!I feel a bit lazy though, I hadn't realized that all the "clever stuff" was built into the MS scenery object.Your standalone beacon will a great help...Geoff

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this