Move, rotate and scale an object when the game is running

Move, rotate and scale an object when the game is running,For example, a painting, a model

Hi @xiaoyao,

Can you describe some more what do you mean by moving? For example who is moving the object, the user?

Check this example on how to translate user input to movement:

https://developer.playcanvas.com/en/tutorials/point-and-click-movement

1 Like

Thank you Sir,Reply
What I need is
When running, click a UI to display the model, generate the corresponding model in front of the camera (first person perspective), and then move, rotate and zoom the model

You can edit the generated model, photos,

So if you are asking where to get started, then check the various example projects and tutorials.

Here is another one on how to rotate an object with the mouse:

https://developer.playcanvas.com/en/tutorials/rotating-objects-with-mouse

Can I draw coordinate axis control?

Try searching around in the forum about that, I think someone shared an example in the past on how to do that.

ThankYouSir

1 Like