glob2-ideas
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Glob2-ideas] non-flat terrain


From: Stéphane Magnenat
Subject: Re: [Glob2-ideas] non-flat terrain
Date: Mon, 21 Jul 2008 23:18:47 +0200
User-agent: KMail/1.9.9

> We already have the same "problem" with different speeds on different
> terrains. Slow swimming globs take the short route through the water even
> when they would be faster on land.  We argued that they nevertheless
> optimize distance and that food-levels depends totally on traveled distance
> and not on time. The same argument also fits now.

Yes, but if we add slopes, we should also think wether we want the globules to 
consume more food when going on slopes.

If we do so, maybe we can add roads as well; I propose the following costs

Food consumption/pathfinding table per step:

slope           same level              up              down            

normal          3                               5               2
roads           2                               3               1

If slope is < +- 10 deg, it is same level, if it is between +- 10 deg and +-35 
deg, it is slope, if higher, it is an obstacle.

What do you think?

Have a nice day,

Steph

-- 
http://stephane.magnenat.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]