Question by
acemaster84 · May 07, 2016 at 11:56 AM ·
movement script
Assets/ballcontrol.js(3,5): UCE0001: ';' expected. Insert a semicolon at the end.
#pragmatic strict
var rotation Speed = 50;
function Update ()
{
var rotation : float = Input . Get Axis ("Horizontal") * rotation speed;
rotation Speed *= Time.delta time;
rigid body. Add Relative Torque (Vector 3.back * rotation Speed);
}
Comment