Monday, August 1, 2022
HomeGame DevelopmentNode rotation when mouse clicked route - Cocos Creator

Node rotation when mouse clicked route – Cocos Creator


am began studying cocos 3d the way to calculate the diploma for participant to rotate teh participant in direction of mouse contact location


Hello,

I like to recommend taking a look at my 3D First Particular person Controls tutorial:

You possibly can change to code to work with on click on and to alter the gamers rotation as a substitute of the digital camera relying on what you’re aiming to do.

Thanks

okay i’ll strive thanks for suggestion :slight_smile:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments