Author Topic: Question regarding MilkShape 3D and exporting animations...  (Read 715 times)

Drislain Lendorian

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Hi,

I'm a student that is trying to get his thesis done, however I'm running into problems with my model animations generated in MilkShape and exported to Cal3D format. My desired output would be that the model is standing upright and "hovering" up and down on the Y axis. When I load my model into CS after exporting it, the model is on its back and it's hovering on the Y axis. I found that I could perform a hard transform in the .cal3d file to stand the model upright. When I do this, the models stands upright as I wanted but the animation now moves back and forth on the Z axis. It appears to rotate the axis used by the animation as well as the mesh. Does anyone have a solution on how to make the model and animation perform in the correct manner?

Here's the entry in my .cal3d file to perform the hard transform on the X axis to make the mesh stand upright:

Code: [Select]
<hardtransform rot_axis_x="1" rot_axis_y="0" rot_axis_z="0" rot_angle="270"/>

Vengeance

  • Veteran
  • *
  • Posts: 1452
    • View Profile
Re: Question regarding MilkShape 3D and exporting animations...
« Reply #1 on: June 20, 2006, 06:01:01 am »
Just after your <params> tag, add this:

   <options rotate_x_axis="yes" flip_textures="no" />

That should fix that problem.

- Venge

Drislain Lendorian

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Re: Question regarding MilkShape 3D and exporting animations...
« Reply #2 on: June 21, 2006, 06:28:12 am »
I have that line in there already right after the <params> tag and it rotates the mesh and the animation. Is there a way to separate the animation rotation from the mesh rotation?