Thornack Posted September 30, 2013 Posted September 30, 2013 I have several Blender models which I wish to make into mobs, What are the requirements to code in the .obj files so they appear in game as mobs? I know how to do it using techne models (this is easy) but i am stumped by how to take a Blender model and code it in game. Are there tutorials for this? Quote
StreakyFox Posted September 30, 2013 Posted September 30, 2013 As i refered to in another thread like this: I stumpled uppon this tutorial here: http://minalien.com/tutorial-advancedmodelloader/ Maybe it can help you out Quote
Mazetar Posted September 30, 2013 Posted September 30, 2013 sadly though .obj doesn't support animations, so there seems to be no easy way of doing that Quote If you guys dont get it.. then well ya.. try harder...
Thornack Posted October 1, 2013 Author Posted October 1, 2013 Ya the whole no animations support thing for .obj seems to be an issue. I wonder if there is a way around it. I think the developer of Pixelmon has found a way to do it but other than that I dont think many people have. Quote
Thornack Posted October 1, 2013 Author Posted October 1, 2013 If anyone knows how to get a .obj file into the game as a mob please let me know I will post anything I find on this subject Quote
Mazetar Posted October 1, 2013 Posted October 1, 2013 Same way as you would for any other model from .obj files. @SideOnly(Side.CLIENT) public class ModelFromOBJ extends ModelBase { private IModelCustom modelObj; public ModelFromOBJ () { modelObj = AdvancedModelLoader.loadModel(new ResourceLocation("/assets/my_mod_id/models/tutBox.obj")); } } Quote If you guys dont get it.. then well ya.. try harder...
Recommended Posts
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.