Skip to content

Collision

Simon (darkside) Jackson edited this page Aug 21, 2020 · 7 revisions

Collision

Area Submitted Type
Games: 3D Graphics, Games: Collision 6/9/2010 Code Sample

Description

This sample shows how to test collision for all of the primitives found in the XNA Framework (Plane, Sphere, Ray, BoundingBox, BoundingFrustum) and also OrientedBoundingBox and Triangle. This sample is useful for any situation in which 3D collision is necessary.

Sample Overview

This sample implements collision detection for primitives, including triangles and oriented-bounding boxes. It renders a scene that demonstrates collision detection for both these shapes and the XNA Framework's built-in geometric primitives.

All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

Download Size Description
CollisionSample_4_0 0.06MB Source code and assets for the Collision Sample (XNA Game Studio 4.0).
CollisionSample_4_0.zip 0.06MB Source code and assets for the Collision Sample (XNA Game Studio 4.0).
Clone this wiki locally