mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Attachments: Fix interpolation from (0,0,0) after detach
GenericCAO::getPosition() did not take the camera offset into account LocalPlayer attachment cleanup: Use sane getParent() function Make that getPosition() (GenericCAO and LocalPlayer) always return the absolute position
This commit is contained in:
parent
51f230895c
commit
aa8df112ff
7 changed files with 57 additions and 61 deletions
|
@ -165,9 +165,9 @@ public:
|
|||
|
||||
const bool isImmortal();
|
||||
|
||||
scene::ISceneNode *getSceneNode();
|
||||
scene::ISceneNode *getSceneNode() const;
|
||||
|
||||
scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode();
|
||||
scene::IAnimatedMeshSceneNode *getAnimatedMeshSceneNode() const;
|
||||
|
||||
// m_matrixnode controls the position and rotation of the child node
|
||||
// for all scene nodes, as a workaround for an Irrlicht problem with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue