Collisions and sliding

Blitz3D Forums/Blitz3D Programming/Collisions and sliding

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Well, there's sliding and sliding :-)

I don't want to slide down a ramp, but I do want to slide down a vertical wall. Perhaps what I am wanting is unreasonable. As it stands though, you can wedge yourself in the corner of a room by jumping up and moving forward (which would be a nimble and athletic thing to be able to do, but not very realistic).

The point is that in the corner there is nothing underneath your feet preventing gravity from working. I assume the walls are not made of glue. On a ramp there is something, albeit at an angle.

I guess I could use full sliding collisions and look at the surface normal below my feet and apply a suitable frictional force to counteract the gravity.

In my case the camera is the same thing as the character, I was just being loose tongued.