CodeBase - Sliding Collision - AKA BSP Collision

Return to the CodeBase listing

Category: Collision

Version: 1.0

0
0

Information

Uploaded: 4th May 2004 23:31

Modified: 4th May 2004 23:32

Author:  watermark

Summary

Very simple sliding collision. This code only works for objects directly on the x and z axis, meaning rotated objects wont work correctly.

Full Description

Very simple sliding collision. This code only works for objects directly on the x and z axis, meaning rotated objects or round objects wont work correctly. But hay, this is DBC...I only have but so much to work with. Obviously the movement code is nearly a copy and paste from the "monster hunt" tutorial, I liked the way it worked and it makes this easier to understand. Focus on the foreshadow object and the subroutine at the end and where the sub is called. This is surprisingly simple, but for some reason I kept trying to be complicated.

Comments

No comments yet.