- Home /
Make Player Move Slow Over Grass
Hello. I have this overlay:
And I want to put it over my simple 2D map, and I want it to behave so that, when the player walks over it, he is slowed down. Does anybody know how to achieve this, perchance?
Answer by Sasstraliss · Sep 25, 2013 at 09:31 PM
One slightly complicated way could be to create some 3D surfaces in a modelling program to mimic the shape of the grass patches, and use them as mesh colliders. You could cast cays downwards to see if you hit them. This would work, though it would be a bit complicated having to model all of those patches.
Your answer
Follow this Question
Related Questions
i can't get an object to respond to collision! (newbie question) 1 Answer
How to attract moving object to specific areas -1 Answers
Why does my OnCollisionEnter2D not work? 3 Answers
Different results between "ContactPoint" and "ContactPoint2D" 0 Answers
I have a problem with implementing a health and death system, help? 1 Answer