jeromeetienne / tquery

extension system for three.js
http://jeromeetienne.github.io/tquery/
MIT License
652 stars 119 forks source link

How to implement orbit control for camera in tquery boilerplate? #235

Closed dianseptiana closed 11 years ago

dianseptiana commented 11 years ago

Hi Everyone, i want to ask how to implement orbit control in tquery boiler plate. Because the default camera control is using dragpan control... I still new in three.js and especially tquery.

jeromeetienne commented 11 years ago

something like this

var controls = here you create your usual THREE.Control you like
// now you set the camera control in the world camera
world.setCameraControls(controls)
dianseptiana commented 11 years ago

Thank you for your answer, jerome

On Fri, Jan 4, 2013 at 6:20 PM, Jerome Etienne notifications@github.comwrote:

something like this

var controls = here you create your usual THREE.Control you like // now you set the camera control in the world camera world.setCameraControls(controls)

— Reply to this email directly or view it on GitHubhttps://github.com/jeromeetienne/tquery/issues/235#issuecomment-11880090.

Dian Septiana* Web Developer, 41studio.inc Tel: (+62) 899-712-0138 www.41studio.com http://www.facebook.com/nicholash3ndra Facebookhttps://www.facebook.com/DIAN90.septiana https://twitter.com/#%21/nicholash3ndra Twitterhttps://twitter.com/dianz_septiana Contact me: [image: Google Talk] dian41studio [image: Skype] dian41studio STATEMENT OF CONFIDENTIALITY _The information contained in this email and any attachments to this message are intended for the exclusive use _of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient,* please notify the sender immediately and destroy all copies of this email and any attachments.