How To Make A Part Set On Y

I am wanting to make a ball that can roll but in the air. Is it possible to set the y axis and make it roll like it would on the ground.

You can use an AlignPosition constraint with its mode set to PerAxis and only giving it force on the Y axis.

Like this


Screenshot 2023-11-12 at 11.32.51 AM

Yeah that should work but 10000 is pretty low force

Another way would be to have 2 balls one rolling and another simulated locked to the Y axis but recreating the Cframe and orientation of the ball.

 local vx,vy,vz,C0,C1,C2,c3,c4,c5,c6,c7,c8 =oldCFrame:components()
      newCFrame =CFrame.new(vx,0,vz,C0,C1,C2,c3,c4,c5,c6,c7,c8)

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