Difference between revisions of "Model system"

From PioneerWiki
Jump to: navigation, search
m (Attachments)
(Collisions)
Line 22: Line 22:
  
 
== Collisions ==
 
== Collisions ==
 +
 +
By default, the collision mesh of a model is the bounding box of all the meshes. For more control, you can import a custom mesh using the <code>collision</code> directive in the model definition:
 +
 +
collision collision.obj
 +
 +
[[File:newmodel_collmesh01.png]]
  
 
== Special nodes ==
 
== Special nodes ==

Revision as of 18:28, 8 October 2012

Overview

Importing models

Materials

Detail levels

Animations

Attachments

Models may have special "tag point" Group nodes where other models may be attached. You may define a tag point in Blender by placing an Empty object and giving it one of the predefined names.

The system is meant for attaching equipment: guns, cargo pods, turrets...

Example: A generic gun model attached to a point "tag_gun_right":

Newmodel tagpoints01.png

The actual list of available names has not been determined yet.

Collisions

By default, the collision mesh of a model is the bounding box of all the meshes. For more control, you can import a custom mesh using the collision directive in the model definition:

collision collision.obj

Newmodel collmesh01.png

Special nodes

  • Decals
  • Thrusters
  • Billboard lights

New systems that need to be developed