An entity moving on a rail is not undocked when the rail it is on is activated with logic.
Description
Details
- Task Type
- Bug
- Affected Gamemode(s)
- Single and Multi
- Reproducible
- Yes
- Last tested (version)
- 0.19519
- Category
- Control Block System: Rails/Docking
- First occurrence (version)
- 0.19519
- OS-Specific
- No
- Hardware-Specific
- No
- Video Card Vendor
- uncertain
- Username on Registry
- Andir
<replace this line with the file content>
<replace this line with the file content>
Event Timeline
-Feedback-
I can't reproduce this, are you sure that logic block isn't touching a rail block? If so, then it will try to set that rotation to the linked block, instead of undocking the entity.
I did however get a "Cannot dock! Permission Denied" error message but it did undock just fine with logic.
I have an activation block touching the rail block, I connect that activation block to a button that is away from the rail. The button is then linked to the rail to send the activation. When an entity is moving on the rail and it triggers the activation, it then triggers the button which activates the rail to undock the entity. It does not undock. I tried linking it to the rail that it is coming from and the rail it's going to. Neither worked.
This is a single straight rail that has an entity moving on it. This is unrelated to the transfer entity to another entity via rails experiment I was playing with except that I initially tried to make two parallel rails, undock one that was moving and I was attempting to have it somehow collide with another rail. Ignoring the collision thing, this is about undocking moving entities on a rail.
Your setup worked fine for me. The activation that touches the rail gets triggered when something moves on it, that sends a signal to the button and the button is linked back to the rail block the entity should be sitting on.
It gets undocked. Maybe your button is touching a rail block? If so then it will try to set that direction to the linked block and not undock something that is on it.
I apologize for the late answer, I didn't realize I received a response.