-
Notifications
You must be signed in to change notification settings - Fork 0
Clock
Create a virtual Clock consisting with a solid 3d Body. The User should be able to change the Time to see the Weather Forecast.
When i use the Globe i want to see how the weather will be at a certain time. I wanna move my fingers up and down to scroll through the Time and therefore the weatherforecast.
Clock Implementation Details:
-
The clock model was finalized using Blender.
-
Interaction with the clock was implemented using 'OnTriggerEnter' and 'OnTriggerExit' methods, with 'isTrigger' enabled on the colliders.
-
Adjustable Time and Date: The clock's time and date can be adjusted in various increments (1, 2, or 5 steps) depending on the distance between the first and last collision points.
-
Preventing Irregular Times: A function was added to prevent setting irregular times.
2024-06-19_21-13-28.mp4
- After creating a virtual clock, we wanted it to be part of the globe, not something separate from our main object. So, we decided to place it under the globe, resembling a watch. This way, our interactive XR globe can float above the clock, which shows the time where you are and isn't location-dependent.
-
The sizes of the clock and colliders need to be readjusted, as testing revealed that two colliders were often unintentionally touched, leading to multiple numbers being changed.
-
The time is not yet automatically adjusted to the time zone of a newly selected location.
Teamprojekt Spatial_XR 24
Introduction
Project Configuration
Development
Files and Resources