Unity3D Objects Positioning

It is my first Unity project so the question might be silly. I Have created two 3d object with blender and imported the fbx (Autodesk) file in a Unity3D project. The problem is that when I instantiate the assets in the editor, the objects are always rendered at the same position (the one they had in blender) though I have actually changed it (in Unity).

What am I missing?

Answers


Most commonly this is caused by fbx exporter. If objects don't have animations, uncheck animation box in fbx exporter.

If you instantiate objects by script you probably set wrong position of objects. It should look something like this:

var Object:GameObject; //This object should be assigned from project pan.
var pos:Vector3; //Wanted object position in world
var rot=Quaternion.Euler (0, 0, 0); //Wanted object rotation(all zeros sets it to original)
//This should be in some function
var name = Instantiate(Object, pos, rot);

Need Your Help

I use Google Tag Manager to fire tags on my website.Variables "undefined" in custom code for any version of Internet Explorer

javascript internet-explorer-8 google-tag-manager

I am using Google Tag Manager to fire tags on my website. The tags are firing correctly in all browsers except Internet Explorer (any version). What is happening is that the GTM macro is not getting