Collisions That Don't Stop or Slide

Blitz3D Forums/Blitz3D Programming/Collisions That Don't Stop or Slide

You can use entitydistance. It works just like standard collisions with entityradius but no responce.
Also there is another comand but the docs say its slow.
Its called MeshesIntersect (mesh_a,mesh_b )
oops, your using sprites, so the MeshesIntersect won't work here.
For powerup.powercrystal = Each powercrystal
If powerup<>Null
 	pow_del=0
	For p_ship.player = Each player
		If EntityDistance (p_ship\p_pivot,powerup\mesh)<15 Then 
	 		pow_del=1 
		EndIf
	Next 	
   If pow_del=1 Then   
		p_alpha#=.5
		FreeEntity powerup\mesh
		Delete powerup 
		pow_del=0

	EndIf
EndIf	 
Next