Sollumz
2.5
2.5
  • 👋Welcome
  • 📋Features
  • 📗Getting Started
    • ðŸ“ĨInstallation
    • 🍀Creating Your First Asset
  • ðŸ”ĻSupport
    • ❔FAQ
    • 💎Getting Help
    • ⚠ïļFiles not supported by Sollumz
  • 📚Tutorials
    • 🌐Creating Static Meshes
    • ðŸ’ĨCreating Static Collisions
    • 🏠Creating Interiors [TODO]
    • ðŸŽļCreating Props
      • âšŦSetting Up Sollumz Shaders
      • 🌐Converting To Drawable
      • ⚩Creating the Archetype (.ytyp)
    • 🚙Creating Vehicles
      • 📑Setting Up the Model and Materials
      • ðŸĶīPositioning Bones
      • ðŸšĶVertex Groups, Hierarchy, and Armature
      • ðŸĒLOD Assignment
      • ðŸ“ĪExporting
    • ðŸ”ŦCreating Weapons [TODO]
    • 🎎Basic Animation Editing [TODO]
    • 👕Basic Clothes Editing
  • 📄Documentation
    • 🌐Drawables (.ydr)
      • Level of Detail (LODs) Editing
      • Rigging
    • 🚙Fragments (.yft)
      • Bone Physics
      • Collision Physics
      • Prop Setup
      • Vehicle Setup
        • Import Settings
        • Vehicle Windows
        • Light IDs
        • Paint Colors
        • Wheels
        • Export Settings
      • Vehicle Shaders
    • 🗂ïļDrawable Dictionary (.ydd)
    • ðŸ’ĨCollisions (.ybn)
    • 🎎Clip Dictionary (.ycd) [TODO]
    • 📇Archetype Definition (.ytyp)
      • Archetype Flags
      • Archetype Extensions
    • 🗚ïļMap Data (.ymap)
    • ðŸ’ĄLighting (.ydr)
      • Light Flags
      • Flashiness Values
Powered by GitBook
On this page
  • Prerequisite Knowledge
  • What you will need
  • Converting to a Static Collision
  • Additional tips

Was this helpful?

Export as PDF
  1. Tutorials

Creating Static Collisions

Game Collisions are stored in the Static Collisions (.ybn) file format. Creating Collisions in Sollumz is very straight forwards.

PreviousCreating Static MeshesNextCreating Interiors [TODO]

Was this helpful?

Prerequisite Knowledge

  • Basic Blender skills ()

  • Know how to either stream assets in a FiveM server or load mods into the base-game

What you will need

  • A mesh located at the world location (where you want the collision to be)

Converting to a Static Collision

The first thing to do is apply location transforms on your object(s). Select all the objects and press CTRL + A and select 'Location'.

Next go to Sollumz Tools > Collisions > Create Bounds and select your object(s) and click 'Convert to Composite'.

Ensure that the Bound Composite and Bound GeometryBVH empties are located at 0, 0, 0.

Next, Center the origins of your object(s), go to Object > Set Origin > Origin to Geometry.

It should now look something like this.

Last step is to rename the 'Bound Composite' empty to your .ybn file name.

Additional tips

Using Primitive shapes such as, 'Bound Poly Box', 'Bound Poly Capsule', 'Bound Poly Sphere' should be used for majority of your collisions, unless the mesh is a complex shape and cannot be made up of multiple primitive shapes. This is because it is more performance friendly and reduces unnecessary asset size.

📚
ðŸ’Ĩ
This is a great place to start
Example Hierarchy