Closed Eunice1191 closed 5 months ago
I have a feeling this might be an intended function, or at least something from the game. Peds I think are forced upright by the game, I'll have to see if some sort of native exists that forces then to rotate.
Looking into the code, there is nothing inherently preventing a rotation from happening, and in testing in game, certain inputs can demonstrate some level of rotation, which then resets when the game has caught up, telling me there is some sort of hard-coded piece that prevents a ped from being rotated away from vertical. Doesn't look like there is much that can be done about this unfortunately.
Interestingly enough, if the ped is just Frozen in Place and not attached to anything, all 3 rotations work fine in manual placement options. However it's only during the attachment to an object and in the Attachment Options where only Yaw seems to work correctly.
Oh that is interesting, I wonder if forcing something frozen would allow it to still be attached?
Yeah I tried both but it doesn't seem to matter if the ped is frozen or not during attachment, still the same result
Noticed that once a ped is attached to an object, the various rotation options in the attachment menu seem to get quite buggy. For example Yaw works, but Pitch does not. Doesn't seem to be an issue with objects though. Objects attached to other objects, rotate on all 3 axis as intended.