Jump to content

3DS Max Animated Mesh - No Modifiers


Recommended Posts

Animated mesh exported from 3DS Max 2013 using the babylon exporter.


Please see the link:


Adjusting the scale, rotation, and position doesn't get applied to the actual mesh.



Babylon Model Files:

Max Scene:

				BABYLON.SceneLoader.ImportMesh("", "../Models/Monsters/", "Boss_Pukui.babylon", scene,					function (mapZone, particleSystems, skeletons)					{						mapZone[0].rotationQuaternion = null;						mapZone[0].scaling = new BABYLON.Vector3(0.0005, 0.0005, 0.0005);						mapZone[0].rotation = new BABYLON.Vector3(0, -3.141593, 0.000000);						mapZone[0].position = new BABYLON.Vector3(-104.0314, 4.3437, -14.2259);					}				);
Link to comment
Share on other sites

I do not remember why I did this for code generated out of Tower of Babel (this part was very early), but I think it was the same as your problem.


Vector3 objects are assigned to scaling, rotation, & position in the Mesh constructor.  I just assign into the pre-existing ones:

        mapZone[0].position.x  = -104.0314;        mapZone[0].position.y  = 4.3437;         mapZone[0].position.z  = -14.2259;         mapZone[0].rotation.x  = 0;         mapZone[0].rotation.y  = -3.141593;         mapZone[0].rotation.z  = 0;         mapZone[0].scaling.x   = 0.005;         mapZone[0].scaling.y   = 0.005;         mapZone[0].scaling.z  = 0.005;

Later, I think I saw that you have to call some method that tells the system, that you changed the objects.  This was is what I prefer.

Link to comment
Share on other sites

then how do you place or move animated objects? Also, shouldn't scale also be independent of position then too?


mapZone[0] should be the first and only mesh in the babylon package, so unless i was addressing the actual animation in as the skeleton, then i would assume that mapZone would be what I want.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...