Home > other >  Unity model of the mouse to click in the scene, camera instant positioning in front model, how to do
Unity model of the mouse to click in the scene, camera instant positioning in front model, how to do

Time:09-23

Unity model of the mouse to click in the scene, camera instant positioning in front model, how to do? Great god please teach

CodePudding user response:

Single machine model, don't double click,

CodePudding user response:

I mean how to write the code, click on the model in the scene, the scene camera positioning by click on the front of the model? Vision, only this model

CodePudding user response:

To obtain the coordinates of the mouse to click, and then set the coordinates of the camera to get the coordinates of the information; Or do a special use itween plug-in moveto function for camera to realize from the current position to the position of the mouse to click,
  • Related