LordAshes-ColliderPlugin icon

ColliderPlugin

Add minis with solid surfaces

Last updated 6 months ago
Total downloads 554
Total rating 0 
Categories Tweaks Networked Tools Integration Minis
Dependency string LordAshes-ColliderPlugin-1.2.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepisTaleSpire-BepInExPack-5.4.10 icon
bbepisTaleSpire-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.10
brcoding-SetInjectionFlagPlugin-2.3.0 icon
brcoding-SetInjectionFlagPlugin

Allows players to flag mods are installed

Preferred version: 2.3.0
LordAshes-AssetDataPlugin-3.2.1 icon
LordAshes-AssetDataPlugin

Dependency plugin for subscription/notification based data storage and message exchange.

Preferred version: 3.2.1

README

Collider Plugin

This unofficial TaleSpire plugin solid surfaces to mini in order to create effects like ship decks, wagons, vehicles, watch towers, etc without needing to use tiles.

This plugin, like all others, is free but if you want to donate, use: http://LordAshes.ca/TalespireDonate/Donate.php

Change Log

1.2.0: Updated for compatibility with BR Slab Browser update
1.0.0: Initial release

Install

Install using R2ModMan or similar.

Usage

Dropped minis will not go through defined solid surfaces in corresponding minis.

Content Creation

While the plugin will encase minis in a bounding box for the pupose of collisions, in most cases it is desirable to refine the collision surfaces so that they match the desired mini. For example, a ship would have masts and sails so using a bounding box for the entire ship would mean a solid surface above the mast. In order to correct this, the main can contain any number of colliders to define solid surfaces. All these colliders will be treated as box colliders so using box colliders is the ideal choice.

It should be noted that only horizontal surfaces of the colliders are solid so the colliders will prevent drops but not passing though the object from the side. Similarly a mini can always be moved though a collider manually - the colliders just prevent fall though due to gravity.

  1. Create mini.
  2. Add box colliders overlapping with surfaces that are to be solid.
  3. Build asset.

Limitations

  1. Colliders are all treated at Box Colliders even if the mini uses a different type of Collider.
  2. Colliders only work for gravity falls. User can still move a mini though collider surfaces.