mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "V8DataModel/PartInstance.h"
|
||||
#include "V8DataModel/IAnimatableJoint.h"
|
||||
|
||||
namespace RBX
|
||||
{
|
||||
class AnimatableRootJoint : public IAnimatableJoint
|
||||
{
|
||||
bool isAnimating;
|
||||
shared_ptr<PartInstance> part;
|
||||
CoordinateFrame lastCFrame;
|
||||
public:
|
||||
AnimatableRootJoint(const shared_ptr<PartInstance>& part);
|
||||
PartInstance* getPart() const { return part.get(); }
|
||||
|
||||
/*override*/ void setAnimating(bool value);
|
||||
/*override*/ const std::string& getParentName();
|
||||
/*override*/ const std::string& getPartName();
|
||||
/*override*/ void applyPose(const CachedPose& pose);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user