|
|
(40 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
− | <big>''' Interactable animated items '''</big><br />
| |
− | <br />
| |
− | '''Bones'''
| |
| | | |
− | You can use either dummies, mesh or actual bones in 3DS Max to animate visuals. Make sure however that these bones are in a separate layer and are linked to a dummy which needs to be named Dummy_Root.
| |
− |
| |
− | If you are using a single bone for one mesh make sure to select that mesh and click the "MakeAnim" button. This can also be done by hand by selecting the mesh, right clicking on it, select '''Object Properties''', go to'''User Defined''' tab and type ''Rigid = true''
| |
− |
| |
− | This also needs to be done with exporting a visual which consists of two meshes, one with multiple bones and one with a single bone. This only applies to the mesh with a single bone.<br />
| |
− |
| |
− | <br />'''Skinning'''
| |
− |
| |
− | Select the mesh you want to be animated, open the modifier list and select skin.
| |
− | Add the bone(s) you want to use. Apply weight paint if needed.
| |
− | <br />
| |
− |
| |
− | <br />'''Animation Manager'''
| |
− |
| |
− | After you have created and tested your animation you’ll need add your animation to the animation manager. In the animation manager you can add multiple animations by first selecting the Dummy_Root at the top. Now you can create a new layer by clicking “new” in the bottom left corner. You will need to enter a name, the begin and end frame number of your animation. Each separate animation needs it own layer.
| |
− |
| |
− | The name of you animation layer needs to be ''“LayerName”_”AnimationName”_”01”''
| |
− |
| |
− |
| |
− | Example:
| |
− | ''
| |
− | ''DOORS_Humans_Ruins_A_Open_01''
| |
− | <br />
| |
− |
| |
− | <br />'''Physics'''
| |
− |
| |
− | Create your physics mesh and name it properly. Now you will need to link your physics mesh to your animated mesh.
| |
− |
| |
− | We do this by using a proxy so the physics mesh can be animated. Start by right clicking on your animated mesh, select "Object Properties", go to "User Defined" tab and insert the following lines:
| |
− |
| |
− | <br />''Rigid = true
| |
− | <br />LarianPhysics_Type = proxy
| |
− | <br />Proxy_Geometry = “LayerName”_phys''
| |
− |
| |
− |
| |
− | Now right click on your physics mesh, select "Object Properties", go to "User Defined" tab and insert the following lines:
| |
− |
| |
− | <br />''LarianPhysics_Type = rigid_body
| |
− | <br />LarianPhysics_RigidBody_Type = static
| |
− | <br />LarianPhysics_RigidBody_Mass = 0.0
| |
− | <br />LarianPhysics_RigidBody_Friction = 1.0
| |
− | <br />LarianPhysics_RigidBody_Restitution = 0.0
| |
− | <br />LarianPhysics_Shape_Type = convex
| |
− | <br />LarianPhysics_Shape_Flags = 0''
| |