Jump to content

prefabs and pinning materials


randomkeyhits
 Share

Recommended Posts

Either I've missed a stage out in the process or I've simply misunderstood something.

 

I create a material for a floor surface and then create a simple box primitive shaped at 300x300x50.

 

I drop the material onto the box and go to faces and centre it so it fits nicely. From the scene I then right click and save as a prefab.

 

When I drag from the prefab folder into the scene the texture is as I expect, but if I move the object in the scene the texture jumps to a random offset so that I have to go back into the face editor and re-orientate it again.

 

Is there any way to ensure the texture stays pinned as saved?

content over form, game play over all.

Link to comment
Share on other sites

Thanks for the input. From Josh's blog it looks like locking should be the default which is good but I can't find any option to toggle it at all. Looked through all the menus but no luck so far.

 

Whats interesting is that when i place a 2x3 prefab set and go into face mode it seems to show that the texture offsets are in world co-ordinates and not local to the prefab. Toggling the local/global co-ord has no effect on this.

 

I'll keep plugging at this but any advice is welcome.

content over form, game play over all.

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.

Guest
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.

 Share

×
×
  • Create New...