OnGround = false For c = 1 To CountCollisions(p\piv) if CollisionNY( p\Piv,c) > 0 OnGround = true Exit endif Next
Probably best to average the normals of all the p\piv collisions and determine OnGround from the resulting y normal.
Stevie
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.
OnGround = false For c = 1 To CountCollisions(p\piv) if CollisionNY( p\Piv,c) > 0 OnGround = true Exit endif Next