Lidar Project Experiment

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, we try to wrap the whole fish into an gameobject known as "currentFish" and get the spriterenderer component in order to change the colors.

Conclusion

Overall, this is a good start trying out Lidar and understand how it works. It may be challenging for me in future to create more interactive works!


Comments

Popular posts from this blog

IxD Project: Floor Projection Mapping Setup (Critics & Refinement)

IxD Project: Production Process (Coding Design Development)

Case Study 2 - MORI Building DIGITAL ART MUSEUM: teamLab Borderless