You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker to check if the issue has already been reported.
My issue happened while using mods.
What happened?
Potential bugs for modding:
When you set deep diver duck's launch impulse to 20.0
and change its body element to <Body width="160" height="10" density="30" /> for easy observation
If you throw it to the right, it seems to fly forward
On the contrary, if you throw it towards the left, it will seem to fly backward.
This seems to be because the Throwable will require the item to be also flipped when its picker is flipped, and the projectile does not consider this situation when it is shot.
Disclaimers
What happened?
Potential bugs for modding:
When you set deep diver duck's launch impulse to 20.0
and change its body element to
<Body width="160" height="10" density="30" />
for easy observationIf you throw it to the right, it seems to fly forward
On the contrary, if you throw it towards the left, it will seem to fly backward.
This seems to be because the Throwable will require the item to be also flipped when its picker is flipped, and the projectile does not consider this situation when it is shot.
test video:
https://github.com/FakeFishGames/Barotrauma/assets/73634685/89263c05-f386-4318-b43d-fc49fa1bc20b
overrided xml code of deep diver duck:
I found a workaround to fix it via modding:
Add the following code to the Throwable element:
Reproduction steps
Bug prevalence
Happens every now and then
Single player or multiplayer?
Single player
-
No response
Version
v1.2.8.0 (Winter Update hotfix 2)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
The text was updated successfully, but these errors were encountered: