Terrain artifacts after binary serialization
Hi, Im working towards serialising my Terrain, and from what I can gather I have to create a byte[] out of Getheights and then convert it back to Setheights to reimplement. When testing a basic...
View ArticleLINQ to OrderBy, Distinct and RemoveAll List of GameObjects
LINQ newb here, I was wondering if somebody could give me some pointers, because i have no idea what is going on. I have a List of GameObjects and wish to sort it and remove dupes and entries which no...
View ArticleDetect closest reachable point of object
Evening all, Im trying to give some level of awareness to the npc in my scene, in this case detecting where the nearest water is from its current position on the terrain. The water is a single plane...
View ArticleBlend texture seam between 2 terrains tiles
At the root of this problem is that i cannot for the life of me fathom how to paint a texture onto a terrain via script, the way of editing splatmap data just seems totally counter intuitive to me,...
View ArticleReset slerp to.rotation to avoid follow through
Good day to you fellow humans, Im a little puzzled by the following and wish to seek the assistance of someone cleverer than myself. I would like to reset a to.rotation after slerping to the current...
View ArticleTerrain artifacts after binary serialization
Hi, Im working towards serialising my Terrain, and from what I can gather I have to create a byte[] out of Getheights and then convert it back to Setheights to reimplement. When testing a basic...
View ArticleLINQ to OrderBy, Distinct and RemoveAll List of GameObjects
LINQ newb here, I was wondering if somebody could give me some pointers, because i have no idea what is going on. I have a List of GameObjects and wish to sort it and remove dupes and entries which no...
View ArticleDetect closest reachable point of object
Evening all, Im trying to give some level of awareness to the npc in my scene, in this case detecting where the nearest water is from its current position on the terrain. The water is a single plane...
View ArticleBlend texture seam between 2 terrains tiles
At the root of this problem is that i cannot for the life of me fathom how to paint a texture onto a terrain via script, the way of editing splatmap data just seems totally counter intuitive to me,...
View ArticleReset slerp to.rotation to avoid follow through
Good day to you fellow humans, Im a little puzzled by the following and wish to seek the assistance of someone cleverer than myself. I would like to reset a to.rotation after slerping to the current...
View Article