It looks like you're new here. If you want to get involved, click one of these buttons!
Hi i have a advice in the example 3D Lab is more easy to muve pasting this code in the draw function:
Angle = CurrentTouch.x CamHeight = CurrentTouch.y
@Juanjo56
Nice! Thanks!
Yeah nice tip, @Juanjo56 !
Actually, if you want to make it a little less jumpy, you can do this:
Angle = Angle + CurrentTouch.deltaX CamHeight = CamHeight - CurrentTouch.deltaY
Ow yes like this:
if CurrentTouch.state == MOVING then Angle = Angle + CurrentTouch.deltaX CamHeight = CamHeight - CurrentTouch.deltaY end
Nice addition! (Also cool that in Simeon's version, the scene keeps moving/spinning after the touch...though it's actually tough to get it to stay still.)
Okay now, what's the code to add pinch to adjust FieldOfView?
Comments
@Juanjo56
Nice! Thanks!
Yeah nice tip, @Juanjo56 !
Actually, if you want to make it a little less jumpy, you can do this:
Ow yes like this:
Nice addition! (Also cool that in Simeon's version, the scene keeps moving/spinning after the touch...though it's actually tough to get it to stay still.)
Okay now, what's the code to add pinch to adjust FieldOfView?