pyro-dragon / Clan-PoC

The tech demo and basic functions of the Clan game
0 stars 0 forks source link

Get terrain tree position data #16

Closed pyro-dragon closed 10 years ago

pyro-dragon commented 10 years ago

Find the actual position terrain trees are at. Currently the new trees are being placed almost right at the point of origin, not where they should be.

pyro-dragon commented 10 years ago

Tree positions are normalised. To get the absolute value it has to be multiplied by terrain properties. Absolute Y = normalised Y x terrain height