Hey,
I have a hill that a marble rolls down. The marble is controlled by the player so it can move. When in the air the marble doesn’t move as it does on the floor because there is no friction in the air. How would I make it so that the marble moves at the same speed as if it was on the floor?
The marble moves by using AngularVelocity and friction. To make it move I change the AngularVelocity’s AngularVelocity property and it works well on the floor at low speeds but not in the air.
Are you setting the AngularVelocity and/or Torque properties to predetermined values (for example, 6) or to values determined by a formula (6 * x, where x is variable like friction)?
ye, it gets set to a specified number when they press the button. the problem is that it only happens in the air because there is no friction, i am wondering what i could use to make the marble move in the air. angular velocity probably won’t work.
Using an AngularVelocity constraint with an Attachment0, I had a part turning while in free fall. Is the difference in behavior that the marble doesn’t turn at all while in the air but turns as expected on the floor or is something else happening?
I think instead of having the marble rotate to turn, it’d probably be easier to just move it from side to side using like BodyVelocity, AlignPosition, or CFrame adjustments.
I don’t know if you’re using anything to move the marble forward other than the built-in gravity, but I’ve also had success turning using AngularVelocity while moving the object forward with a BodyVelocity object.