代码说明:
TCollisionTester3DX component to check for collisions between 3D objects in Direct3D games. This component must be used with DelphiX components and with DirectX 6.0. A tutorial 3D gaming example is available at the Delphi3DX page. Features:
Surround each of your 3D-objects by at least one collision object which must be a member of the following primitives: box3D - sphere3D - ellipsoid3D - cylinder3D - air3D
available CollOrientations are: - Symmetric_X - Symmetric_Y - Symmetric_Z
Available material properties are: solid3D - water3D - air3D
Available functional properties are: pickable - shootable - fixed3Dobject
Bullets are described by: BulletRadius - BulletRange - LongShots
The actor is described by: FrontDistance - HeadRadius
使用Direct3D制作3d效果的游戏
【立即下载】
|