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?
This rotationtype is supposed to copy parent angle, it does not due to code mistake
Spawn item function in Stauseffect class has a coding mistake for SpawnRotationType.This.
It calls TransformRotation function from Physics body of the entity which fires statuseffect, however TransformRotation does not change rotation aside from flipping direction. In no way does it apply parent rotation to spawned item.
Reproduction steps
Take item below, place a few in sub editor and rotate them. When clicking button it would spawn item with SpawnRotationType.This and you can see all of them going straight right regardless.
Discussed in #15675
Originally posted by Ydrec February 25, 2025
Disclaimers
What happened?
This rotationtype is supposed to copy parent angle, it does not due to code mistake
Spawn item function in Stauseffect class has a coding mistake for SpawnRotationType.This.
It calls TransformRotation function from Physics body of the entity which fires statuseffect, however TransformRotation does not change rotation aside from flipping direction. In no way does it apply parent rotation to spawned item.
Reproduction steps
Take item below, place a few in sub editor and rotate them. When clicking button it would spawn item with SpawnRotationType.This and you can see all of them going straight right regardless.
button throwing item
Bug prevalence
Happens every time I play
Single player or multiplayer?
Happens in both single player and multiplayer
-
No response
Version
v1.7.7.0 (Winter Update)
-
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: