Spinning Object

You can write your topic however you want, but you need to answer these questions:

  1. 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)
  2. What is the issue? Include screenshots / videos if possible!
    I dont know how to do it
  3. 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)

could you provide more about what you have so far? is your bowling ball using roblox physics or your own implementation?

1 Like

its using roblox phisics

game.ReplicatedStorage.BowlingActive.OnServerEvent:Connect(function(Player,power,Spin)
local Power = power * 2
local Ball = game.ServerStorage.Ball:Clone()
Ball.Parent = game.Workspace.ActiveBalls
Ball.Position = Player.Character.PrimaryPart.Position + Player.Character.PrimaryPart.CFrame.LookVector + Vector3.new(0,-3,0)
Ball.Velocity = Player.Character.PrimaryPart.CFrame.LookVector * Power + Vector3.new(0,0,0)
Player.leaderstats.BowledBalls.Value = Player.leaderstats.BowledBalls.Value + 1
end)

Thats what its using i need to use that spin factor

you can put spin on it by using Ball.AssemblyAngularVelocity(or just AngularVelocity), and then set the balls angularvelocity on each axis depending on wtv the player does

1 Like

i need to put the spin depending on the players lookvectore how could i do that?

you could try just setting the angularvelocity directly to the lookvector * some value, but i’m not sure if that would work
try that while i think about this a little bit more

1 Like

ok Tysm for the ideas i woulda never thought of that

Good news this seems to work
PS when you turn the spin to high it gives the ball a through effect(Somthing i was gona try to do) Tysm

1 Like

you should mark this as solved then unless you need anything else
(im overcomplicating this way too much if you’d like to see)

1 Like

Dear Future Viewers! this was the soulution i came up with
Ball.AssemblyAngularVelocity = Player.Character.PrimaryPart.CFrame.LookVector * Vector3.new(Spin,0,Spin)

2 Likes

I did but i marked the comment where you suggested assemblyangularvelocity

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.