TOKSIM_GetCollisionCount() |
Return value: The number of collisions that are recorded in the collision data as of the latest advance |
Description: Retrieves how many collisions are recorded in the collision data as of the latest advance. |
Collision handeling from TOKA_BOUNCE.bb If TOKSIM_GetCollisionCount()>0 Then For c=0 To TOKSIM_GetCollisionCount()-1 YForce#=PeekFloat(ColBank,84+(c*104)) If YForce#>1.0 Then tmpsnd=PlaySound(snd) EndIf Next EndIf |