- Home /
How do code in the ability to run on water like in Sonic Unleash and generation?
Hi I'm a upcoming Game designer and i was looking to practice on making a game. I wanted to make sonic fan game when i thought about his ability to run on water but I have no clue where to start. If anyone can help push me in the right direction would be great.
Answer by SolomonG · Aug 01, 2017 at 11:39 PM
You could have a pretty simple script where if Sonic's speed (x-z magnitude) is greater than a certain number, enable a collider for the water (probably box collider for the sake of simplicity), but if not, disable the collider.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to make Match 3 versus game AI C#? 0 Answers
Scoring mechanics 0 Answers
getting udp package info inside unity (GlovePIE) 0 Answers
How do i create a game like Subway Surf (Infinite terrain)? 0 Answers