Interactive room

Another one of my work done on unity. Coming soon in Asset Store.

Interactive interior

Now available in Asset Store: https://www.assetstore.unity3d.com/#/content/6468

The four pictures of cats alone are worth the money. This is a good deal. What are the custom scripts you used here if I may ask?

I’m sorry, I do not know much English. About photos of cats - it’s a joke or sarcasm?

in this work the emphasis was on qualitative visualization, here are a few scripts. But here is my script for the animation textures. It is very convenient - no need to manually assign textures - enough to write a name and it will add all the others in any quantity. Besides the animation speed is regulated and can include random play.

This looks cool! I think you may want to make an interactive zoom in - zoom out to some parts of the room such as a table with candles and a cabinet. It is actually pretty simple to do — create an empty gameObject in front of each spot and move a camera to these empty gameObjects using a lerp method.

C# Code:

	void FixedUpdate()
	{
		smoothDelta = Time.deltaTime * 3f;
		mainCamera.transform.position = Vector3.Lerp(transform.position, tableSpot.position, smoothDelta);	
		mainCamera.transform.rotation = Quaternion.Lerp(transform.rotation, tableSpot.rotation, smoothDelta);
	}

In the same way I work with a camera in this demo: https://www.googledrive.com/host/0B9i9KNXHGFMTN05UczBkYTYwaWM/play/index.html

Дим, а можно по русски?) а то я не очень понял))

Да, написал в pm :wink: