This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk

Forum rules

Weld joint with a revolute joint causes a losing of all targets of the weld joint

Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
User avatar
JakSparro98
Superfighter
Superfighter
Posts: 530
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 27

Weld joint with a revolute joint causes a losing of all targets of the weld joint

Post by JakSparro98 » Mon Jan 29, 2018 4:52 pm

If a revolute joint is targeting to a tile that is welded with others by a weld joint the latter will disable all connections between tiles, this only happens if the revolute joint has the motor enabled with a speed value greater than zero, the more the value is hight the less the time the connections takes to be deleted, the title that is targeted by the revolute joint also needs to be dynamic.

Map example
4 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1887
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 36

Post by Gurt » Mon Jan 29, 2018 8:47 pm

Fixed after Beta v1.0.2c.
Thanks for the report and demo map.

The only way to work around it right now is to re-create the weldJoint in the ScriptAPI once you remove something. Remove the old weldJoint and create a completely new weldJoint. It should work.
You can also limit yourself to not having a revolute joint connected to welded tiles if you plan to destroy one or more of the tiles.
0 x
Gurt

Locked