outfly/src/blender
2024-05-23 05:42:18 +02:00
..
cruiser.blend rename Racer to Cruiser 2024-05-08 05:50:35 +02:00
hollow_asteroid.blend add hollow asteroid under construction 2024-05-01 03:36:54 +02:00
README.md bikeshed directory locations 2024-04-29 14:50:15 +02:00
suit_v2.blend bikeshed directory locations 2024-04-29 14:50:15 +02:00
wings.blend implement wing avatar, give it to icarus (and player, optionally) 2024-05-23 05:42:18 +02:00

Blender source files

This folder contains the source files for the 3D models (glTF/.glb) in the /assets/models/ directory.

If no corresponding blender project exists, it means that the model is simple enough that the glTF/.glb file itself is the "source file". To view/edit it, create an empty project in blender and import the glTF/.glb file. To save it, export it again as glTF/.glb.

Guidelines for model creation

  1. The origin (coordinate 0/0/0) of the model should be its center of mass.
  2. The scale of every model should be normalized to a "radius" of 1. In other words, the entire object should fit inside blender's standard cube (centered at origin, with side length 2). To scale an object up or down in the game, use the "scale" command in the defs.txt. Minor mesh details like antennae may exceed beyond the bounding cube.

Colliders

A model may contain a collider mesh, which will be used for collision checking if the actor is spawned with the command "collider handcrafted". The collider mesh will be invisible in the game. To use this feature, give the collider mesh (NOT OBJECT, BUT MESH) the name "Collider" (case-sensitive.)