collisions?

Blitz3D Forums/Blitz3D Programming/collisions?

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.

Your variables don't have a # at the end.

By default blitz variables are integer, so you should have

ColNormal# = CollisionNormalX(player,1)
ColNormal# = CollisionNormalY(player,1)


Else you will get rounding to the nearest integer, which for 0.4 is zero.