Comments (5)
@pollend May I ask exactly why does Rails use a separate physics system? If we can get Rails to work with Terasology physics, all these problems can be avoided.
from rails.
I don't think bullet has a way to fix an object onto a track. I've already played around with this pretty exhaustively and just settled on treating cart as a kinematic object and handling the impulses myself. It's not too bad since the impulses are linear in nature.
from rails.
@pollend I see. You've probably tried these already, but how about constraining the current velocity to (i.e. projecting it onto) the tangent of the rails surface on every update? Or using collidion objects that only collide with the trains as the "barriers" of a track? Just throwing some ideas out there that may work. What do you think?
from rails.
I've already attempted that with normal bullet. If you look in the legacy branch it does that somewhat. The main issue with this is that bullet can't calculate the impulses properly since you're constantly adjusting them. I also had the problem where the rigidbody becomes desynced from the actual visible model.
from rails.
Okay, so let's keep the physics system as-is, since you have clearly tested various approaches extensively.
from rails.
Related Issues (20)
- Add Crafting Recipes
- Rail Block Placement Problems HOT 3
- Rail Flipped Straight Segment
- Cart Joining HOT 2
- support different friction coefficients for rail segements HOT 1
- Connecting Carts HOT 3
- Carts inch along when nothing is pushing them HOT 4
- Blowing up rails causes exceptions HOT 1
- Rails Test Not Clear (I have updated it) HOT 3
- Cart placement on a track
- Server crash on joining carts HOT 1
- Trying to place a loco in multiplayer results in a denial HOT 2
- Explosive cart in multiplayer works but is invisible
- Cannot place sloped rail
- Cannot climb into cart placed by another player
- Player can move through carts in multiplayer
- Add a button to cycle through possible rail blocks
- Make `ModuleTestingEnvironment` and `CoreAssets` dependencies optional HOT 2
- Re-enable or delete MTE tests
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 rails.