Collision Question

Blitz3D Forums/Blitz3D Beginners Area/Collision Question

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.

How do you set (CollisionX,CollisionY,CollisionZ)'s Index?

I keep getting an "Index out of range" Error.
And there are no examples with these functions in the command reference.
Also, As I move across a 3D terrain every time I get to a steep hill the camera shows
the inside of the hill instead of the surface.
I use the collision command slide2 mode.
How would I get the camera to automatically go up when it gets to a steep hill
and then decend again when I go down, I think checking CollisionY is the way to go.
What is the best way to do it. Thanks in advance.