|
My Project
|
Public Member Functions | |
| void | setup (CParaXModel *model) |
Public Attributes | |
| int | id |
| Vector3 | pos |
| int | bone |
| void ModelAttachment::setup | ( | CParaXModel * | model | ) |
First translate the model to the attachment point, then apply the bone transformation matrix. mat = [(translate matrix)*(bone matrix)]*(worldmatrix)
1.8.12