RotX18 / MP_Group4_EscapingReality

VR Escape room game developed in Unity
3 stars 0 forks source link

Miscellaneous Changes / Bug Fixes #54

Closed RotX18 closed 2 years ago

RotX18 commented 2 years ago

Issue for documenting any miscellaneous changes such as refactoring of code that may not pertain to any particular file in the project

RotX18 commented 2 years ago

2 Aug 2022

File changes

Project window: image

image

Hierachy changes

image

RabbitKazma commented 2 years ago

3 Aug 2022

Animations

https://user-images.githubusercontent.com/85175456/182507924-ed2378af-3791-4968-b8fb-f0d45e12e1cb.mp4

https://user-images.githubusercontent.com/85175456/182512760-d67608e8-216b-481c-a75d-315881ef9d84.mp4

RotX18 commented 2 years ago

5 Aug 2022

Creation of ClockActivator placeholder object

image Object will be used as a placeholder to activate the clocks using the battery. To use any other asset as the clock activator,

  1. Attach ClockActivator.cs script to new object
  2. Add the clocks to the Clocks array via the inspector
  3. Tag the new clock activator object with ActivateClock

Removal of unnecessary files

RabbitKazma commented 2 years ago

5 Aug 2022

Door unlock and open animation

https://user-images.githubusercontent.com/85175456/182998845-79158aa8-c253-4b78-a712-827dcf063b21.mp4

Notes:

RabbitKazma commented 2 years ago

5 Aug 2022

Color grid and arrow

image

Notes:

RotX18 commented 2 years ago

16 Aug 2022: Baked light mapping in scene + light probes

LightMapping

Converted scene to use Universal Render Pipeline (URP) as light probes and post processing has to be done using URP

image

Light Probes

image

Removed unused SteamVR package

image

RotX18 commented 2 years ago

17 Aug 2022: Shifting player scripts

Player scripts are now in the folder "Player" instead of "PlayerInteraction"

image

RabbitKazma commented 2 years ago

21 Aug 2022: Current status of UI

image

image

image

chiitori commented 2 years ago
  • @chiitori Can help me split the two controllers below

@RabbitKazma Create a new UI screen with L and R controllers seperately?

RabbitKazma commented 2 years ago
  • @chiitori Can help me split the two controllers below

@RabbitKazma Create a new UI screen with L and R controllers seperately?

yes, I will discuss with you later.

RotX18 commented 2 years ago

@RabbitKazma Implemented UI toggling, see #40

Also addressed movement bug, documentation in #84

chiitori commented 2 years ago

23rd AUG

UI Update

UI_Asset_2

Scene Changes

Scene_Changes _23_AUG_2022

RotX18 commented 2 years ago

24 Aug 2022 - Lighting changes (Redid lighting for updated scene + Post processing)

Scene view (No post processing, Unbaked lighting)

image image

Scene view (With post processing, Unbaked lighting)

image image

Scene view (With post processing, Baked lighting and reflections)

image image

Lighting settings and shadow parameters can be adjusted, will discuss with @chiitori and @RabbitKazma in person

RotX18 commented 2 years ago

24 Aug 2022 - End scene transition implementation + minor lock change

Implemented end scene transition

Lock change

Adjusted lock to have the entire object in position instead of just model

Before

image

After

image

RabbitKazma commented 2 years ago

1st Sept 22 - Fixed player collision with walls

Issue + Solution

Issue: Friction between the colliders was causing the rotation of the player due to the force of movement still acting on the player's RigidBody

Solution: Change the collider of the player to a capsule collider and set its friction to 0; Friction set using the material, reused SphereMat as the parameters already satisfy the condition image image

Note: Removed CollisionHandler.cs from player object to allow more smooth interaction between player and wall. (#114)