Documentation
›
API Reference
›
Object
›
Joint
SetTargetMatrix
Lua
C++
This function is used to set the matrix a kinematic joint uses to orient the attached entity.
Syntax
void SetTargetRotation(const Mat4& matrix)
Parameters
matrix:
matrix to orient the attached entity.