Help Max Script


#1

how could I create a spinner that controls the rotation of the object up to a maximum of 20 degrees

I did this

Rollout caja “Rotacion”(
slider rotx “ROT” range:[-20,20,0] type:#float ticks:5
on rotx changed val do (
$caja.rotation.x =val
)
)

Ventana= NewRollOutFLoater "Game Control" 320 240
addrollout caja ventana