Skip to content

Remove .obj entity model orientation hack

bones_was_here requested to merge bones_was_here/obj_model_orientation into master

This seems to be causing an orientation problem not fixing one.
It was added in 9e00d155 which also contains unrelated changes.

I tested this by adding jul_gizmo.pk3 (thanks Julius!) to erbium with the following entity fields (from the compiled bsp):

{
"model" "models/mapobjects/julius/jul_gizmo/jul_gizmo.obj"
"origin" "-157.000000 -999.000000 96.000000"
"classname" "misc_gamemodel"
}

This model's orientation in NetRadiant is correct with respect to the map grid by default, but this workaround needs to be removed from QC for it to be correct ingame too. I tried this with misc_clientmodel as well, in div0-stable and current master engine versions, same result in each case.
I also tried an orientation change "angle" "90" with the same result that the workaround needs to be removed for Xonotic to match NetRadiant.
I used the current Xonotic default of mod_obj_orientation 0 (use coordinates as is) for all these tests.

All these issues blame DP but at least for this model in these orientations, DP's behaviour matches NetRadiant.
Closes darkplaces#81 darkplaces#169 darkplaces#388 #2243

Merge request reports