Skip to main content

The Power of Pride Bundle 2026 — $10 PWYC Edition
On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

var tnode = ccbGetSceneNodeFromName("Terrain");ccbSetPlantDefaults(tnode, 20, 17, 0.5, 15); 

I get an error saying  ccbSetPlantDefaults function is not defined.  If your API is designed to run as a custom binary then I can't see how any functions can be run from within the editor ??

Also the function ccbSetTerrainColor does not change the terrain color but it does change the color of the terrain reflected in a water plain.
EDIT: The ccbSetterrainColor is working correctly now but with the shadows disabled only. I understand there are some issues with some terrain functions and shadows enabled but I thought this only applied to the ccbSetOcclusionCulling() function which causes flickering.

ccbSetPlantDefaults - this work but at the moment must be run before using ''ccbUpdateTerrain"  - I have updated the notes. The angle adjutment works fine but may need more testing on the size changes.