Game Development Community

script onCollision

by Gabe Zingaretti · in Technical Issues · 01/29/2003 (7:55 am) · 0 replies

Hi guys,


function CrossbowProjectile::onCollision(%this,%obj,%col,%fade,%pos,%normal)

this is a junk of the script that comes with the sdk. how does the game know that when a bullet hits a shape it needs to call onCollision? Where it is on the code? I kinda found something but it only takes 3 parameters. Any hints?

Gabe