Bug #328
High-weight nodes slide right through collision mesh.
| Status: | Closed | Start date: | 06/29/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | RoR - Physics | |||
| Target version: | - | |||
| Operating System: | All | Operating System Bits: |
Description
See attached file. This is currently the largest and ugliest barrier to getting trains working well in RoR.
Upon startup, the train will ignore the guide rails and go down its own special path that it made just for itself. The rails are definitely collision-enabled, you can use the Turbotwin to verify that.
History
#1
Updated by tdev almost 2 years ago
- Status changed from New to Researching
- Assignee changed from tdev to estama
- Target version set to 0.37
- % Done changed from 0 to 10
estama, what do you think about this?
#2
Updated by estama almost 2 years ago
The collision code is made in such a way so as to moderate the produced collision forces. This is done to avoid creating very large forces which produce numerical instabilities (overloading the floats).
The solution to this problem is to have collidable nodes that are reasonable weighted, and on those to connect the heavy (not collidable) nodes. This creates a buffer (soft) zone around the heavy nodes, making the collisions "softer", while at the same time permitting heavy trucks.
#3
Updated by donoteat almost 2 years ago
hmm... hadn't thought of that. I'll definitely look in doing that, thanks.
#4
Updated by tdev almost 2 years ago
- Target version deleted (
0.37)
#5
Updated by donoteat almost 2 years ago
- Status changed from Researching to Closed
- % Done changed from 10 to 100
Well, there seems to be a simple and easy workaround... so I'm killing off my own issue.