x


How to drag and drop?

I am totally new to unity 3d programming, and I am using the Shadow demo project prefab as base project. I am able to import the 3d objects I made in blender together its texture. Now I would also like to drag and drop the 3d object I made within the scene. I tried doing it via Component>physics>rigid body but the imported 3d object do not behave like you can drag it around the scene and interacts with other objects. How do I do it? Thank you!

more ▼

asked Mar 19 '12 at 05:35 AM

deepspeed gravatar image

deepspeed
0 1 2

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

2 answers: sort voted first

Hello, I am new in unity too and I don't have your answer but I have got the same problem and another one: I can't export Shadow demo for android: compilor errors (no problem for windows export). Does someone have the solutions, it will be great to share. Thanks. PS sorry for my english

more ▼

answered Jul 20 '12 at 12:43 PM

beunity gravatar image

beunity
1

Please open your own question instead of hijacking one.

Jul 20 '12 at 01:01 PM Piflik
(comments are locked)
10|3000 characters needed characters left

I posted a basic script here:

http://answers.unity3d.com/questions/287063/dragging-objects-like-in-amnesia.html

It's for dragging rigidbodies. It will probably need some adapting to your needs but it's somewhere to begin.

more ▼

answered Jul 20 '12 at 01:23 PM

Doireth gravatar image

Doireth
602 4 7

(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:

x726
x14

asked: Mar 19 '12 at 05:35 AM

Seen: 381 times

Last Updated: Jul 20 '12 at 01:23 PM