• Home
  • Products
    • Game Engine
      • Base
      • Mathematics
      • Geometry
      • Physics
      • Particles
      • Animation
      • Graphics
      • Game
      • Game UI
    • Windows Forms
      • Docking Windows
      • Text Editor Control
  • Downloads
  • Buy
    • Overview
    • Professional
    • Indie
    • Non-Commercial
  • Support
    • Overview
    • Blog
    • Forum
    • License FAQ
    • Documentation
  • About
    • About Us
      • Services
    • Contact Us
    • Press
    • Legal Terms
      • Imprint (English)
      • Imprint (German)
Select the search type
 
  • Site
  • Web
Search
DigitalRune.com
Login |Register
NEWS News RSS Feed BLOG Blog RSS Feed FORUM News RSS Feed DOCUMENTATION DigitalRune Software on YouTube DigitalRune Software on Twitter
You are here: SupportForum

If you want to contribute to the forum discussions, please Register or Login.

SearchHome
  • 1
  • 2
  • 3
  • 4
  • 5
HomeHomeDigitalRune Sof...DigitalRune Sof...Game EngineGame EngineCustom Collision Object?Custom Collision Object?
Previous
 
Next
New Post
12/31/2011 11:03 AM
 
MartinG
7th Level Poster

www.digitalrune.com
Joined: 10/15/2006
Posts: 446
Re: Custom Collision Object? 

Ich finde dein Englisch gar nicht schlecht - gibt gar keinen Grund sich zu entschuldigen. ;-)

Die Variable _simulation stammt aus einem Physikbeispiel und ist vom Typ DigitalRune.Physics.Simulation. Die wird nur benötigt, falls die Physiksimulation zum Einsatz kommt. Falls nur die Kollisionserkennung benötigt wird, reicht natürlich die CollisionDomain aus.

Ein XNA-Modell lässt sich über TriangleMesh.FromModel(Model) in ein TriangleMesh umwandeln. Daraus kann man dann eine TriangleMeshShape machen und zur Kollisionserkennung verwenden. Siehe Sample 29 in der Solution Samples\DigitalRune.Physics\General Samples\General Samples (Windows).sln.

Alternativ kann man ein Modell in der XNA Content Pipeline vorverarbeiten und zur Laufzeit direkt als TriangleMeshShape laden. Das erfordert aber gute Kenntnisse der XNA Content Pipeline. Siehe Sample 33 in der Solution Samples\DigitalRune.Physics\General Samples\General Samples (Windows).sln.

 
New Post
12/31/2011 1:44 PM
 
mavonic
No Ranking

www.mavonic.de
Joined: 9/26/2011
Posts: 26
Re: Custom Collision Object? 

Gut Danke. Das hat mir jetzt sehr geholfen :D !

 
 Page 2 of 2
Previous12 
Previous
 
Next
HomeHomeDigitalRune Sof...DigitalRune Sof...Game EngineGame EngineCustom Collision Object?Custom Collision Object?


DigitalRune is a trademark of Garstenauer Information Technology OG.

Garstenauer Information Technology OG
Weingartenstrasse 35, 4452 Ternberg
Austria (EUROPE)
office@digitalrune.com

Home Products Downloads Buy Support About Us
Game Engine Particles Windows Forms Professional Blog Services
Base Animation Docking Windows Indie Forum Contact Us
Mathematics Graphics Text Editor Control Non-Commercial License FAQ Press (News)
Geometry Game Documentation Legal Terms
Physics Game UI Imprint
Impressum
Copyright © 2006-2012 Garstenauer Information Technology OG Terms Of UsePrivacy Statement