schippas / Zaireeka3D

A Unity app to simulate spatial surround sound in a room environment.
5 stars 1 forks source link

Change how MoveObject.cs handles keeping objects centered. #21

Open schippas opened 4 years ago

schippas commented 4 years ago

Currently, MoveObject.cs will drop an object when it moves from the center of the screen, because it will become impossible for a player to drop if they cannot click on it. This usually happens while holding an object and trying to look at the ground. The viewport will move down, but the object will stop at the ground, pushing it off camera. One way to prevent this could be stopping the camera from moving in a direction when the object being held cannot move in that direction.