Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Help! My Ninjas keep sinking ....lol

Author
Message
Sinfay
20
Years of Service
User Offline
Joined: 30th Aug 2004
Location:
Posted: 1st Sep 2004 14:54
Hey folks,

All I'm writing here is just some mobs standing there, moving around a little. They do that but they fall through the terrain.

Here's the bastardized tutorial code:

Is my collision check nerfed? thanks!
Sir Spaghetti Code
20
Years of Service
User Offline
Joined: 12th Jul 2004
Location: Just left of Hell
Posted: 2nd Sep 2004 02:32
Have you tried GET GROUND HEIGHT(matrix,X#,Z#)? Use this in place of your Y# coordinate, and it will constantly check the height of the terrain and keep your objects above it.

Or, download the Nuclear Glory collision DLL and set up a collision definition to keep your objects above the terrain! Check the sticky about it or go to: [href]www.nuclearglory.com[/href].

Sinfay
20
Years of Service
User Offline
Joined: 30th Aug 2004
Location:
Posted: 2nd Sep 2004 04:53
Thankie
Sinfay
20
Years of Service
User Offline
Joined: 30th Aug 2004
Location:
Posted: 2nd Sep 2004 05:41
Thanks Sir, here is the fix and this worked slick

Only 2 lines of code!

Login to post a reply

Server time is: 2024-11-27 08:51:58
Your offset time is: 2024-11-27 08:51:58