I am thinking of using Unity to show off a 3D version of our product. I don’t need a full explanation, but could I get the general terms I should search for to make the 3D object draggable, or really ‘spinnable’ so that the user can rotate the object and inspect it from any angle?
Many thank yous!
2 Answers
2
You can write simple scripts to interact with your imported 3D model, use Unity Script Reference it will help you alot.
You will need Transform methods to rotate your object, but if you have no experience it can be not easy, so i can recommend you to learn some basics HERE. Good luck )
Basic code to rotate an object based on touch or mouse has been posted to this list hundreds of times. Search on "Unity3d Rotate By Touch." But for a product demo you need more. You want to make sure the finger tracks the object to give the user the illusion of a direct connection. You want swipes and rapid movements to preserve momentum so that the object continues to rotate for a bit after the finger is lifted. This is not hard code to write for someone with Unity experience, but I know of any complete script already posted to UA. Maybe there is on on the Wiki.
– robertbuMany thanks RobertU. That Unity3D Rotate by touch is exactly what I was looking for.
– hairgamiMaster