Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Mihulik on February 18, 2012, 07:14:29 PM

Title: Bumps
Post by: Mihulik on February 18, 2012, 07:14:29 PM
Hi,
(http://img220.imageshack.us/img220/2520/80604300.jpg)

supposing we have a ground in the walkfield that is not even, but got some bumps like here, how will the character walk over it? I suppose, red? Is there a way to make it like blue?
We use 2D character.

I have not clue how to solve this problem. :(

Thanks!
Title: Re: Bumps
Post by: piere on February 18, 2012, 07:27:20 PM
Try using waypoints and blocked 2D regions
Title: Re: Bumps
Post by: Mihulik on February 19, 2012, 08:30:08 AM
I'll try it - thanks. :)
Title: Re: Bumps
Post by: GreyDay on February 25, 2012, 10:14:58 AM
You could also just limit the floor and use waypoints instead of adding several blocked regions, however it's fundamentally the same solution.