CollisionService Struct Reference
[Collision Detection]

Inherits Service.

Inherited by CollisionImpl.

List of all members.

Public Methods

virtual int test (BoundingShape *s1, BoundingShape *s2, ContactList *contacts)=0


Detailed Description

The collision tester.


Member Function Documentation

virtual int CollisionService::test BoundingShape   s1,
BoundingShape   s2,
ContactList   contacts
[pure virtual]
 

Test two shapes for intersection.

Parameters:
s1,s2  The shapes to test.
contacts  If the shapes intersect, this will return information about the contact points. May be NULL if contact information is not required.
Returns:
The number of contacts detected.
Scripted as:
[ method ]


The documentation for this struct was generated from the following file:


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen