Welcome, Guest. Please login or register.
July 06, 2020, 08:45:40 am

Login with username, password and session length

Author Topic: PHYS template (MoP and WoD)  (Read 1416 times)


  • Contributors
  • Model Change Addict
  • *****
  • Posts: 243
    • View Profile
PHYS template (MoP and WoD)
« on: February 21, 2018, 09:19:02 pm »

This template for 010 editor allows you to modify PHYS files from Mists of Pandaria and Warlords of Draenor.

Some notes and technical information:

How to load a PHYS file in-game
Change your model globalflags to 32 (or 160 if your model casts shadows as well):

The bones with physics must have flag 1024:

Bone coordinates
Bones with physics will take their position coordinates from the phys file and ignore the position given in the m2.
Position is set in the WELJ, SHOJ or SPHJ chunks.

Bone hierarchy
Bones with physics will not be affected by the rotation, scaling and translation of the parent bones unless they are added as an attachment.

As you can see in the image above, the gourds with physics are not affected by the m2 animation and will only move if their coordinate in the world changes.

This is why Blizzard makes separate m2 files for parts with physics. Exampe:

creature/fishmount/fishmount.m2 (base model without physics)
creature/fishmount/fishmount_wiskersleft.m2 (left wisker with physics)
creature/fishmount/fishmount_wiskersright.m2 (right wisker with physics)

The wiskers from the fish mount are in different m2 files, attached server-side as a vehicle accessory. You can also add them as spells or items. If the whiskers were part of the base model, they will just be floating next to the head, since they would not be affected by the parent bone movement.
It's not necessary to separate meshes with physics if your model is static (i.e. helmets, weapons, shoulder pads, etc.).
However you can add physics to a bone, and animate all the bones connected to it.
(Since 7.1 models with physics don't have to be separated - See Dragon Tail Costume as an example.)

Difference between MoP and WoD
The Phys file structure is the same for MoP and WoD.
However, the only thing I noticed is that in MoP physics are more sensitive and the shapes feel lighter.
« Last Edit: February 21, 2018, 09:38:37 pm by inico »


  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: PHYS template (MoP and WoD)
« Reply #1 on: February 21, 2018, 09:25:24 pm »
I’m on mobile so can’t check: does this template have more information than on wiki? Could you add the restrictions you list in the post to wiki? Care to push the template to