IT201-450 Project 3
I have developed a versatile Unity application aimed at enhancing user interaction within a 3D environment. This project combines functionalities such as object spawning, real-time mouse coordinate display, dynamic color changing, and interactive scale adjustment through intuitive UI controls. Users can populate the scene with 3D cubes, spheres, and cylinders by clicking the mouse at specific locations on a ground plane, instantly creating a dynamic environment. As users navigate the scene, the application provides continuous visual feedback of the mouse coordinates and time display. Customization is integrated through a user-friendly UI panel featuring color buttons and drop-down color selection, allowing users to instantly transform the appearance of all spawned cubes to vibrant colors like red, green, or blue with a single click. Using the drop down, users can specifically choose the color they want for each object being spawned, enabling the presence of multiple objects with different colors in the scene. A slider allows users to dynamically adjust the size of all spawned cubes, offering precise control over the scale of objects within the scene, while the rotation slider enables users to rotate the object they choose to spawn in any 360-degree format they desire. The application also includes a time feature, where users can choose from a drop down menu whether they want the time displayed in a 12-hour format or a 24-hour format. The updated time is populated on the user’s screen, providing real-time availability. Input text fields allow users to specify the position and scale of their chosen object, enabling objects to integrate and build on each other. In addition to these functionalities, the application now includes four new features. The first feature allows users to switch between different animation clips for a spawned object by selecting an animation clip from a drop down menu. The selected animation clip is then applied to the currently spawned object, and the Animation Controller is updated to play the selected clip. The second feature enables users to control the speed and playback state of the animation for a spawned object. A slider allows users to adjust the animation speed dynamically, while a button enables them to start and stop the animation as desired. The third feature lets users loop through complex prefabs containing multiple visible objects and control their animations. By selecting a complex prefab from the object drop down menu and using a button to control the loop, users can see the Animation Controller loop through the animations of all visible objects within the prefab. The fourth feature allows users to control animation states using various UI elements. By interacting with buttons, users can switch between different animation states (e.g., rotate, scale) for the currently spawned object, with the Animation Controller updating to reflect the new state based on user input. This project effectively demonstrates the integration of interactive elements in Unity, providing users with a hands-on approach to manipulating 3D objects and their properties within a virtual environment.
Status | Released |
Platforms | HTML5 |
Author | stevengutierrez_guerra |
Made with | Unity |