Posts

Showing posts from January, 2021

Lidar Project Experiment

Image
Interaction User have to tap around the pond for interaction. Different graphic elements serve different functions. For example, the leaf is to trigger the animation of the leaf with the lotus with different color is to change the color of the fish. Besides that, there are water ripples on the pond whereby it follows the hand movement of the user when tapping around. Process ( Graphic assets ) Process ( Coding ) This code is to create a limitation for the lasers that shoot from the device. This is to prevent the lidar from detecting  unnessasary rays. There are two parts of codes can take note of. For the first function, we have to code in order for the leaf to trigger the animation of the fish. We have to set tag on the leaf  to tell the system that the tag is collided with the user touch and thus instantiate the fish. Besides that, we set IE NUMERATOR in order to create a respawn delayed so that the fish doesn't keep on respawning until it loses control. For the lotus part, ...