Skip to content

Colliders

Katy Fox edited this page Jul 3, 2021 · 14 revisions

Prefab Collider Structure

  • [colliders]
    • [collision]
      • (Component: BoxCollider) *
    • [walkable]
      • walkable_deck
        • (Component: BoxCollider)
      • walkable_capsule
        • (Component: CapsuleCollider)
    • [items]
      • seems like children are copy of [walkable]
    • [camera dampening]
      • GameObject_1
        • (Component: BoxCollider) - unsure of purpose
    • [bogies] **
      • (Component: CapsuleCollider)
      • (Component: CapsuleCollider)

* This seems to be the general bounds of the car, enclosing the main mesh, and is used for the spawner/clear car outlines

[collision] Collider Example

** Bogie colliders are autogenerated by the mod based on the freight car prefab. The capsules sit centered on the bogie, running transverse to the car (round end pointing toward rails). The radius matches and width are set up to match up with the wheel riding surfaces if the capsule was centered around an axle.

Clone this wiki locally