mirror of
https://github.com/zeldaret/botw
synced 2026-08-17 05:01:25 -04:00
ksys/phys: Add RagdollController::getTransform and more
Credit to @Dragorn421 for helping me figure out the rotation matrix thing in the getTransform function
This commit is contained in:
@@ -39,6 +39,7 @@ public:
|
||||
sead::PtrArray<ModelInfo>& getUnits() { return mUnitAccess; }
|
||||
const sead::PtrArray<ModelInfo>& getUnits() const { return mUnitAccess; }
|
||||
|
||||
const sead::Matrix34f& getMatrix() const { return mMatrix; }
|
||||
const sead::Vector3f& getScale() const { return _88; }
|
||||
|
||||
void setBoneLocalMatrix(const BoneAccessKey& key, const sead::Matrix34f& matrix,
|
||||
|
||||
@@ -56,6 +56,8 @@ public:
|
||||
/// this *= b
|
||||
HK_FORCE_INLINE void setMulEq(const hkQsTransformf& b);
|
||||
|
||||
bool isOk(hkFloat32 epsilon = hkFloat32(1e-3f)) const;
|
||||
|
||||
void fastRenormalize();
|
||||
|
||||
hkVector4f m_translation;
|
||||
|
||||
Reference in New Issue
Block a user