Platformer movement script C# (very simple)
A downloadable asset pack
Status | Released |
Category | Assets |
Author | Saubstauga |
Tags | script |
Download
Download
PlayerMove.cs 1.1 kB
Install instructions
Important:
1. Don't forget to define the public variables otherwise it doesnt work. I recommend to set the check radius on 0.25 - 0.5
2. You have to create an empty gameobject at the bottom of your player and it must be a child otherwise it wouldnt move with the parent. Don't forget to drag and drop the empty gameobject in the public variable "groundCheck".
Leave a comment
Log in with itch.io to leave a comment.