Jump to content
The Dark Mod Forums

How to set axis of rotation for DR exported model turned into an atdm:mover_door?


Recommended Posts

Posted (edited)

To assign the rotation point of a func_static made into an atdm:mover_door I go into vertex mode, select the axis of rotation (the only selectable vertex) and move it to the right spot.  

When I export that same func_static as .ase, import the .ase and make it an atdm:mover_door everything works, except the axis of rotation isn't selectable.

When exporting as .ase I check the option 'Center objects at 0,0,0 origin', and the axis of rotation is now centered at exact center of the model.  If I leave this option unchecked (default) the axis of rotation is centered at 0,0,0 of the DR grid - so when I put the cursor at a point of the grid and 'create model', that's where the axis of rotation is created while the model itself is offset accordingly.  In neither case is this center, or axis of rotation, selectable or moveable independently of the model.

eta:  A kludge is to extend the door to be exported as .ase with a nodraw brush so the center of the combo is at the axis location desired.  This works but is an abominable kludge which only gets worse since for double doors kludged versions of both L and R are required.  Likewise for every other axis adjustment that needs to be made.

 

Edited by geegee
Posted

Unless the Doors wiki article says otherwise, I don't think you can change the center of rotation on an .lwo/.ase model. It'd be advisable to export the brushes (or re-export the model) by placing them near the DR grid origin such that DR's 0,0,0 is where you want the model origin to be and unchecking 'Center objects at 0,0,0 origin'.

Posted
19 minutes ago, Dragofer said:

export the brushes (or re-export the model) by placing them near the DR grid origin such that DR's 0,0,0 is where you want the model origin to be and unchecking 'Center objects at 0,0,0 origin'.

I thought that might be the case.  I'll use your method and make R and L pairs.  Thanks for the quick answer!  

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recent Status Updates

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...