Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cursedprograms/floaty-follower

A Floaty Follower for Unity
https://github.com/cursedprograms/floaty-follower

csharp game-development unity unity3d

Last synced: 3 months ago
JSON representation

A Floaty Follower for Unity

Awesome Lists containing this project

README

        

[![Twitter: @NorowaretaGemu](https://img.shields.io/badge/[email protected]?style=flat)](https://x.com/NorowaretaGemu)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)





ko-fi




Unity


C#
JSON
HLSL
ShaderLab


Git
PowerShell
Shell
Batch


# floaty-follower


## How to Use

### 1. Attach the Script
Attach the `FloatyFollower` script to the GameObject you want to have follow the target.

### 2. Assign the Target
In the Unity Inspector, drag the target object (e.g., the player) into the `Target` field of the `FloatyFollower` script.

### 3. Adjust Parameters
- **Speed:** Controls how quickly the object moves toward the target.
- **Rotation Speed:** Determines how fast the object rotates to face the target.
- **Float Amplitude:** Sets the vertical distance the object will float up and down.
- **Float Frequency:** Controls how fast the object oscillates vertically.
- **Turn Smoothness:** Affects how smoothly the object rotates.

### 4. Customize the Motion
You can tweak the `speed`, `rotationSpeed`, `floatAmplitude`, `floatFrequency`, and `turnSmoothness` parameters to achieve the desired effect.




© Cursed Entertainment





CursedEntertainment Logo