No, I just want it to be able to react with physics. Read what I posted above for more context.
1 Like
Have you tried using a BodyGyro yet?
If you look at the code I posted, it shows that I used a BodyGyro. My only question is how I can I can get the Y axis of the lookVector so I can plug it into CFrame.Angles.
Never mind, I found the solution on my own.
Code:
local bg = Instance.new("BodyGyro")
bg.CFrame = bg.CFrame * (hrp.CFrame * CFrame.new(0,0,-15))
bg.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
bg.Parent = rot
local boopyve = Instance.new("BodyVelocity")
boopyve.MaxForce = Vector3.new(math.huge, 0, math.huge)
boopyve.P = math.huge
boopyve.Velocity = rot.CFrame.lookVector * 10
boopyve.Parent = rot
lol.
2 Likes