[Modding] Using Rope Sourcepull as/with a Creature breaks the colliders on said creature
Disclaimers
- [X] I have searched the issue tracker to check if the issue has already been reported.
- [X] My issue happened while using mods.
What happened?
Title.
Using the Rope's sourcepullforce var on a creature causes it's colliders to break. The creature's main collider fall to the floor, unable to stand back up. It also affects it's ability to ragdoll, mainly causing it to no longer ragdoll and the last played animation to continue on ragdoll attempt, movement and all.
Mod tick is just because it's mod related. I haven't modified the base game or used any other custom assets which would affect the creature's collisions or rope's functions.
Reproduction steps
- Create a creature which can walk on land, with inventory and the ability to use weapons
- Ensure that it's ragdoll has the ColliderHeightFromFloor to a number
- Create a weapon with the Rope Component and a sticking projectile (ie, a modified Harpoon Gun)
- Set the Rope Component to have a high sourcepullforce var
- Launch the game
- Load into a round
- Control the creature
- Give it the Weapon with the Rope Component
- Fire the weapon so it attaches to a wall, and the sourcepullforce var takes affect
Bug prevalence
Happens every time I play
Version
0.18.15.0
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
I think we'd have to confirm whether or not this is still issue after the latest changes to the rope.
I apologize, I won't be much help with confirming this atm.
While I should still have some of the files related to this issue (at least the weapon), my computer is currently unreachable.
Edit: For reference, in the end the creature half of this bug report went on to being published afterwards, so it functioned. It just didn't like being pulled by sources like that, so we never included that weapon.
Attempted to reproduce:
Using a creature with access to inventory, ability to use weapons and walk on land and a numeric ColliderHeightFromFloor as described in the ticket, I used a harpoon gun with ammo that can stick, with its rope component sourcepullforce modified as high as 30000 (tested adding the modified rope component to both the ammo and the weapon itself, and tested also lower values such as 3000 and 900).
Could not reproduce the issue - this might have been fixed by later changes to the rope.
If the issue still occurs, providing the character and weapon would be helpful