Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

I've fixed the problem! The ccbGetClosestNode had incorrect parameters set in the behavior_Terrain_walkSurface,js script. I commented out the line below and replaced it to make it work with the updated APIV2 function:

// get fall collision node
if (this.using_water && collPos.y < water_height) {
collideNode = this.water_node;
}
//else {collideNode = ccbGetClosestNode(pos.x, playerY, pos.z, collPos.x, collPos.y-0.5, collPos.z);}
else {collideNode = ccbGetClosestNode(collPos.y);}

yeah , there was some differences to older Actions - I would use the new version as its been updated quiet a lot. Dont use older Actions and binary files as a general rule. The new Actions uses the latest APi's correctly - try it and see.