- What do you want to achieve? Keep it simple and clear!
Hey! I was wondering how could I get to make a sort of flinging when dropping part system, what I want to achieve is getting the part to fling to the camera’s current direction / lookvector (I think) whenever you trigger the dropping part thing (I have already done that)
- What is the issue? Include screenshots / videos if possible!
The bodyforces dont work at all, maybe it’s because the lookvectors keep being output negatively (I tried reversing them) but I am clueless on how to fix it.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local Debris = game:GetService("Debris")
local bodyforce = Instance.new("BodyForce")
bodyforce.Force = Vector3.new(((math.abs(currentcamera.LookVector.X)*-1)*100), 0, ((math.abs(currentcamera.LookVector.Z)*-1)*100))
print(GrabObject)
bodyforce.Parent = GrabObject
GrabObject = nil
Debris:AddItem(bodyforce, 0.5)
Thank you so much for helping!