I... need... real... jumping!

Blitz3D Forums/Blitz3D Beginners Area/I... need... real... jumping!

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.

Ok, I've tried to find the surface normal using

p\piv is the player's pivot and x is supposed to be what it is colliding with. But it says "Collision index out of range" so I no idea what I'm doing. :(

For c = 0 To CountCollisions(p\piv)
     For x = 0 To CollisionEntity(p\piv,c)
	CollisionNY(x,c)
     Next
Next