Hello! i'm currently having an issue. i have a part in which I can click and drag and it will follow the direction the user is facing (basically the cursor) while in first person. this is done by having an attachment in the humanoid root part with an offset so that the attachment is always in front of the player. an attachment and alignPosition is also created within the part that will be moved. the alignPosition aligns the part's attachment with the user's attachment and the user's attachment follows the cursor when actively holding the part.
this mechanic works perfectly, however when moving sideways and jumping at the same time (like to the right for example, remember while in first person) the part's attachment gets launched towards the player's direction, despite the user's attachment not getting launched. it seems like the player's physics is affecting the physics of the attachment/alignPosition. is there any way to fix this?
I've tried enabling rigidityEnabled, making it fix the issue, but it isn't desired due to its lack of smoothness when dragging and the ability to phase thru parts. I've also attached the player's attachment outside of the humanoidRootPart to see if the hrp's physics will no longer affect the attachment and thus the draggable part, however this doesn't fix the issue. I have attached a video, a studio file with the draggable part, and the script. thanks!