Comments (16)
I noticed that only very small parts have that behavior.
from kis.
It happens with solar panels & batteries in my experience.
from kis.
The physicsless parts?
from kis.
Also happens with antennas and thermometers. I've seen other physics-less parts survive falls however. My experience with this phenomena was in Munar gravity.
from kis.
You can't do anything about it, it's a game issue which lies in the small-big collider interaction. Even without KIS installed if you somehow drop these parts on the ground they explode. Just avoid dropping small parts on the ground and if you have to - use the "b" "n" buttons to give some distance between the part and the ground. Maybe update to Unity 5 will fix this.
from kis.
Can we temporarily add bigger colliders to small parts when they become root parts?
from kis.
colliders are made when an item is modelled in a 3D program, they all have their own names given by the author, so there's probably no way to tweak them all in bulk.
from kis.
AFIK you can create colliders at run time:
// assuming you got a reference to part's GameObject and stored it in partGameObject
SphereCollider sc = partGameObject.AddComponent<SphereCollider>()
sc.radius = 0.5f;
So it is possible. I'm asking how good / bad this solution is.
from kis.
This will mean that if you detach a small part using "H" button, it will suddenly gain a big collider which will collide with the parent vessel sending the part flying away from the vessel or destroying it.
from kis.
This will mean that if you detach a small part using "H" button, it will suddenly gain a big collider which will collide with the parent vessel sending the part flying away from the vessel or destroying it.
- I heard about a layer based collision detection and it looks like it's technically possible to "add" a layer programmatically (just by picking a number bigger than any existing layer number, but lesser than 32). The problem is: it looks like there is no way to notify other mods about it. This might cause conflicts if other modes "add" their own layers too. Though the layer based will only help if planets and parts are in different layers.
- Another option would be to add a bigger trigger collider, that in
OnTriggerEnter
disables collisions with parts:
void OnTriggerEnter (Collider other) {
if (IsPart(other.gameObject)) { // I don't know how to check if an object is a part (or it's child), but I'm sure there should be a way
Physics.IgnoreCollision(collider, other);
}
}
from kis.
Another option would be to make small parts hover above ground by adding a force based on raycast distance.
from kis.
I have something similar with the connectors that are dropped detached when loading a quicksave if I then pick up those dropped parts then they explode
from kis.
Currently this is a problem - the large fixed radiators already qualify as "small parts that explode". Let's see if 1.2 makes it better.
from kis.
It's a KSP feature with small parts, so less parts are scattered around when you crash. Drop your small parts on other parts to avoid explosions.
from kis.
My tests shown that issue is in how ColliderEnhancer
works. It destroys a part if it gets accelereted with too high force (Unity doesn't do it normally). When a part is dropped on the surface it may colide with it, and collider will push the part out of the body. Depending on the body gravity force and value of the collision error the part may get accelered beyond the safe limit. That's why parts usually explode on Minmus, less frequently on Mun, and almost never on Kerbin.
There is a way to avoid explosion: calculate drop point so what no collision with the surface happens. Though, finding the right point is a much more challenging task than one may guess. As for now there are no plans to fix the issue, sorry.
WORKAROUND. Drop on the surface a part with trivial geometry (e.g. a structural panel), then attach to it all the parts you were going to drop. Do not drop them since it will result in the same behavior. By attaching you disable colliders between the parts since they become a single vessel, parts from the different vessels will collide with all the bad consequences.
from kis.
For now it's infeasible to fix it for a generic case.
from kis.
Related Issues (20)
- Static attach doesn't verify which joint is broken
- Part Duplication Bug with Vanilla Inventory HOT 3
- Cardboard boxes should be able to packed in the seat inventory HOT 1
- KIS2 Feature Request: wearable prop support HOT 1
- [ERR xx:xx:xx.xxx] ADDON BINDER: Cannot resolve assembly: KSPDev_Utils.2.* HOT 1
- [Restock] Some parts stops to stack in KIS
- Clones explosion after loading save, game crashing HOT 2
- Cannot open any container inventories HOT 1
- cannot build with larger parts without blowing up HOT 3
- Refuel tank throws error on refuel action
- Retract cable option is visible when the connector is locked HOT 1
- 500ms delay between drop part action and the actual refresh HOT 3
- KSP 1.11: The KIS dragging mode can activate when the stock construction mode is active
- Copy inventory content when an inventory part is copied HOT 1
- KIS causes SEVERE FPS drops when interacting with Mystery Goo HOT 15
- Problem with inventories interaction in 1.12.3 HOT 6
- Can't add any EVA items to Inventory with KIS and KAS installed HOT 1
- [KSP 1.12.3, Linux] ModuleManager can't find KIS\Plugins\MiniAVC-V2.dll on startup HOT 1
- Cant open inventory
- miniavc-v2.dll keeps disappearing on startup #403 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kis.