I am new to unity and have no prior scripting experience.
I will be working on an interior visualization project requiring me to achieve the following.
Interior walk-thru. Arrow keys to move camera. Mouse xy to look around. Mousedown (y-axis) to change camera height
Alternate on-screen buttons to perform the above
A script to seamlessly fly camera (view) to various designated location (say living, dining, master bedroom etc) from their current view, as user clicks on respective points on a displayed floor plan.
Do you guys think it is possible or wise to do so using adapted scripts from the wiki?
I would love to explore java scripting on the assignment but do not wish to compromise on the delivery deadline which is about a week.
The ‘first-person controller’ prefab that comes with the standard assets will get you pretty close, but you’ll need to revise the code for flying instead of walking (which shouldn’t be too involved).
The easiest solution for that would probably be to use the built-in GUI system; it should be quite straightforward to create a few buttons that control the camera. (Although you’ll probably have to think about how mouse control for the camera and GUI interaction will interoperate.)
That’s a little more complicated. Since the camera can presumably be at an arbitrary location, this would probably require some simple pathfinding. There are some existing libraries you might be able to use for that, or, if the requirements are simple, you could create an ad hoc solution yourself. (This would probably involve some waypoints and/or a network of splines that the camera would follow to get from place to place.)
Existing scripts would be a good place to start, although you’ll probably have to revise them somewhat to get the results you’re after.
There’s no Java scripting in Unity; the supported scripting languages are C#, UnityScript, and Boo.
Also, a week could be a little tight for what you’re describing, depending on your experience level. However, Unity would definitely be perfectly suited to what you’re wanting to do.