App Hub

코드 샘플 세부 정보

Collision

제출됨
2010-06-09
코드 샘플

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).

다운로드

프레임워크

GS 4.0

교육 콘텐츠 찾기
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG