QcControlAim Class
Turns the player's view like a player moving the mouse. More...
| Header: | #include <clientcore/control/QcControlAim.h> |
Static Public Members
| void | lookAt(QcClientSession &session, QcBlockPos block, std::optional<QcBlockFace> face) |
| void | lookAtPoint(QcClientSession &session, const QcVec3 &point) |
Detailed Description
Member Function Documentation
[static] void QcControlAim::lookAt(QcClientSession &session, QcBlockPos block, std::optional<QcBlockFace> face)
Turns the player of session towards the centre of block, or towards the centre of its face.
[static] void QcControlAim::lookAtPoint(QcClientSession &session, const QcVec3 &point)
Turns the player of session towards point.