Jump to content

Sign in to follow this  
Guest hefy_jefy

Attach Point rotation

Recommended Posts

Guest hefy_jefy

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

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
Guest hefy_jefy

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
Guest hefy_jefy

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...