Never mind TerrainY, a similar approach would be to simply do a raytrace (LinePick) straight down. Then use PickedY to determine how far away the surface directly under the player is every frame.
Need help with player movement !
Blitz3D Forums/Blitz3D Programming/Need help with player movement !The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.