Hello, i wanted to know how he scripted the dragging and dropping mechanism
Goto 0:17 and i would also like to know how to make the campfire system.
Hello, i wanted to know how he scripted the dragging and dropping mechanism
Goto 0:17 and i would also like to know how to make the campfire system.
He probably used Physics.Raycast to detect the object in front of him.
And UnityEngine.Rigidbody to move the object towards his view-direction.
You should learn the basics of programming first though. Luckily unity has a very
elaborate tutorial series. they even have projects to help you learn the ways of Unity :'D
Click <here> to check 'em out ;o
I need to know how to make it ASAP. The guy in that video told me he used a spring joint connected to a rigid body, i found this https://gist.github.com/mstevenson/4552515 idk if that is it. And idk where to create a script or where to attach it.
Do you know the basics of scripting to begin with?
I can point you into the right direction if you want, but it’s not going to be a complete script.
Like, what kind of help are you expecting here, cause it
seems like you’re just asking the unity community to code for you.
Correct me if I’m wrong though.
Do you have Skype or something? I’ll explain it.
What’s there to explain? I do have skype, but I’d prefer it if you’d answer my questions in here.
I can’t, i just want to know how to make the script for grabbing and dropping an item.
In that case, here you go…
http://forum.unity3d.com/threads/hinge-uses-object-center-not-pivot.260393/
http://answers.unity3d.com/questions/12322/drag-gameobject-with-mouse.html
http://stackoverflow.com/questions/24876932/unity-drag-and-drop-not-working-when-objects-overlap
http://stackoverflow.com/questions/21752315/how-to-drag-objects-in-unity3d
https://gist.github.com/YoungjaeKim/6045432
http://gamedev.stackexchange.com/questions/80588/drag-an-object-in-unity3d
http://answers.unity3d.com/questions/287063/dragging-objects-like-in-amnesia.html
http://answers.unity3d.com/questions/195921/moving-objects-in-like-in-amnesia.html?page=2&pageSize=5&sort=oldest
http://forum.unity3d.com/threads/amnesia-type-drag-script.151792/