Plax
date
Jun 8, 2024
type
Project
year
2020
slug
plax
status
Published
tags
Unity
Animation
summary
Parallax Character Animation
A rather simple, little script for Parallax Character Animation
![Video preview](https://i.ytimg.com/vi/R97ob-AD_wk/hqdefault.jpg)
In essence:
- Cut your character into many pieces and reassemble them in UGUI
- Define values for each element to determine how much it should move depending on the position of the control element
- Done!
In the example scene, the control position is hooked up to the mouse, so the character always looks at the mouse cursor.
![notion image](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F474223a1-be8f-4bfa-8faf-9a5c71758855%2Fa8f9d6ba-9913-4bc9-b593-210c87ff36ae%2FUntitled.png?table=block&id=7e874875-ebd8-4d34-94f8-2261be16bc78&cache=v2)
Source Code: ➡️ https://github.com/col000r/PLAX/ (MIT License)