
_large.png)
Therefore, if your model isn’t symmetrical, it will get mirrored going from Blender to GameMaker. In Blender, the 3D space is oriented Z-up – but if you look at how X and Y are oriented, you’ll notice that Y runs positive in the opposite direction of how it would in a GameMaker game that is also Z-up. It will rotate the model 90 degrees on the X axis. If you happened to create your model with the wrong orientation, or you imported it from a 3D app that uses Y as up (as opposed to Z) then this is a quick way to fix that in the exported model. Generally, it’s a good idea to keep this on, because otherwise the exported model could differ from what you’re seeing in Blender. Whether or not to apply any modifiers that might be on the object before exporting it.
#Game maker z axis code
This code defines a script name for importing and follows this format: “#define scr_” followed by two line breaks. If checked, this option adds a small amount of code to the beginning of the script which makes the file easier to directly import into GameMaker: Studio.

#Game maker z axis install
Here is the most up-to-date version of the addon (last updated July 16, 2017): Blender addon script 1.6.1 Installationĭownload the script, then open up Blender and go to File > User Preferences, click the Addons tab at the top, then click Install from File.
#Game maker z axis how to
You can download this addon below, find instructions for how to use it, and this is where I will post all future updates to this project.

You can find it here.Īfter becoming fed up with the traditional process of importing 3D models into GameMaker: Studio, I decided to write an addon for Blender which would allow direct export of 3D data to GameMaker – eliminating the need for weird middleware or slow/clunky import scripts. Note: There is a new, better version of this script now, and it works with newer versions of Blender and GameMaker.
