Collision Object Functions

From Danmakufu Wiki
Jump to: navigation, search

ObjCol_IsIntersected

Parameters:
 1) object ID (real)

Returns true if the specified object is currently intersecting with another object.

ObjCol_GetListOfIntersectedEnemyID

Parameters:
 1) object ID (real)

Returns an array of all enemy object IDs that the specified object is currently intersecting with.

ObjCol_GetIntersectedCount

Parameters:
 1) object ID (real)

Returns the number of times the specified object intersected with other objects during the previous frame.

For example, this can be used to determine how many player shots have collided with an enemy (similar to GetHitCount in v0.12m).