CodeBase - Fast Box Collision Function

Return to the CodeBase listing

Category: Collision

Version: 1.1



Uploaded: 30th Aug 2003 08:44

Modified: 30th Aug 2003 13:55

Author:  Preston C


A simple collision function I created during development of my first alienware competition entry.

Full Description

A simple collision function.<br /> You must specify what objects to check for collision for o1 and o2.<br /> objectwidth and objectdepth should be the width and depth of the collision box for o2<br /> should o2 be 0, the function will search for collision from 1 to maxobjects<br /> if nocollide is specified, if an object collides with the object specified<br /> in nocollide, it will return 0.


No comments yet.