I’m very new to unity and pretty bad at learning new software all together. What I’m having trouble with is I have a ball that is rolling down a platform but I want to change its Rigidbody.maxAngularVelocity I’m no programmer but have setup a new C# script in unity. What do I write to be able to change this variable. Thanks
I managed to do it in JavaSkript, you might have to change it a bit, but got me it works that way:
var maxSpeed = 35; //normal maxSpeed is 7
function Update ()
{
GetComponent.().maxAngularVelocity = (maxSpeed);
}
I hope it helps you