FIX: Phys prop origin issue

Started by K@rt, February 22, 2012, 08:52:16 PM

Previous topic - Next topic

K@rt

When you select the "use local origin as world origin" function in WWMT, the pivot point of your model becomes the origin in Hammer (so wherever the pivot point is in relation to your model in max, the orgin will be in relation to your model in hammer)

However there seems to be an issue concering physics props; that the pivot point in max is incorrectly exported, and when you put your model in Hammer the origin isnt where its suppost to be.

There is an easy fix for this:

With your model selected, in the WWMT diaglog click on the "open folder" button next to the Model Folder Path. In that folder you will find the modelname.qc file for the model you are working on. Open this file in notepad. Find the line beginning with "$origin". Now in Max, simply select your model using the "select and move" tool (making sure you are in "View" or "World" mode for the Reference Coordinate System). Now if you look at the bottom of the screen, the x,y and z numbers should correspond with the first 3 numbers wirtten in the "$origin" line in the qc, if they do not, change the 'qc to match the numbers given in Max.

Save the modelname.qc file and the find the modelname.bat file. Click on the modelname.bat file to re-export your model with the correct origin.

Bare in mind that if at any point you re-export your model via the WWMT tools then the .qc file will be updated and the incorrect coordinates re-copied into it. You can prevent this from happening by checking the "lock qc" box in WWMT... however if you do that any changes you make to your model may also not be saved into the qc file.

Happy modeling,

Gmaps

wallworm

Thanks for sharing the fix, Gulli. And thanks for bringing this issue up.

There is a fix coming for this in the next public release.

SMF spam blocked by CleanTalk