You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
Put Spin On An Bowling Ball(not just using orientation or any of that)
What is the issue? Include screenshots / videos if possible!
I dont know how to do it
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried to find a topic simmaler to it but it was all just orientation or somtin else i dont want
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!
I dont currently have a script (im looking for how to do it like some fancy operation i dont know about)
Orientation is the simplest way to do it. I don’t know why you want something else. If the bowling ball is affected by physics (unanchored), you can use AngularVelocity, but it will roll away. So be careful. Make sure that:
The ball is unanchored
The ball has an Attachment called Attachment
local ball = script.Parent -- assuming the script is inside of the bowling ball
local attachment = ball:WaitForChild("Attachment")
local ANGULAR_VELOCITY = Vector3.new(10, 0, 10) -- replace with X Y Z values
function placeVelocity()
local velocity = Instance.new("AngularVelocity")
velocity.AngularVelocity = ANGULAR_VELOCITY
velocity.MaxTorque = 10000
velocity.Attachment0 = attachment
velocity.Parent = ball
velocity.Enabled = true
end
function removeVelocity()
if not ball:FindFirstChildWhichIsA("AngularVelocity") then return end
ball:FindFirstChildWhichIsA("AngularVelocity"):Destroy()
end
-- whenever in your code
placeVelocity()
-- if you need to disable the spin call removeVelocity()
I found what i needed and its annular velocity thanks though btw what i needed is the player to through a bowling ball and that ball to have a spin factor(like in bowling)