x


Stamping an image onto an object?

I have a book model that just floats in midair, but I wanted to add a symbol onto it. I have a transparent image of my symbol and I thought there was a way to just "stamp" it onto the front of the book object. Does anyone have any idea how I could do this?

more ▼

asked Oct 11 '10 at 11:11 PM

Sunandmoon gravatar image

Sunandmoon
11 2 2 3

(comments are locked)
10|3000 characters needed characters left

2 answers: sort oldest

Create a GUITexture, then assign your image to the GUITexture, then position your GUITexture gameobject onto the book, then make the GUITexture game object a child of your book object.

GUITexture is located under GameObject -> Create Other -> GUI Texture

EDIT: To make a GameObject (Something in the Hierarchy) a child of another, drag the child gameObject onto the parent.

more ▼

answered Oct 11 '10 at 11:44 PM

fireDude67 gravatar image

fireDude67
945 9 15 30

I figured GUI Texture was the way to go, but unfortunately I've encountered some complications. If I drag my texture away from where the camera can see it, it won't appear at all. And its not really attached to the book on the cover...maybe I'm doing it wrong? I'm sorry if this is really simple and I'm just not understanding it. :(

Oct 12 '10 at 12:08 AM Sunandmoon

please see edit. if that is not the problem, please leave another comment. Also, how are you moving the book?

Oct 19 '10 at 12:22 AM fireDude67

Also, if you think that my answer solves your problem, please click on the green checkmark next to my answer

Nov 17 '10 at 04:39 AM fireDude67
(comments are locked)
10|3000 characters needed characters left

Change the texture of the cover mesh of your book model to your image.

more ▼

answered Oct 19 '10 at 12:23 AM

fireDude67 gravatar image

fireDude67
945 9 15 30

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2075
x1090
x256

asked: Oct 11 '10 at 11:11 PM

Seen: 1170 times

Last Updated: Oct 11 '10 at 11:11 PM