载入中...
搜索中...
未找到
MotionMatcher.h
浏览该文件的文档.
Evaluated local (and optional world) pose for an AnimSkeleton. Script type: AnimPose.
Definition AnimPose.h:15
3D bone hierarchy + bind-pose local TRS for skeletal animation. Independent of ik::Skeleton3D (FABRIK...
Definition AnimSkeleton.h:14
Baked motion-matching feature database from one or more AnimClips. Feature layout per frame: [0....
Definition MotionDatabase.h:22
Runtime motion matching player: builds a query feature from current pose + desired trajectory,...
Definition MotionMatcher.h:17
void search()
Force an immediate search (also called periodically from update).
Definition MotionMatcher.cpp:146
void setBlendTime(float seconds)
Definition MotionMatcher.cpp:38
AnimSkeleton * getSkeleton() const
Definition MotionMatcher.h:25
float getMatchedTime() const
Definition MotionMatcher.h:54
int getMatchedFrame() const
Definition MotionMatcher.h:52
float getDesiredVelocityX() const
Definition MotionMatcher.h:30
void setDesiredVelocity(float x, float z)
Desired planar velocity in character/world XZ (units/sec).
Definition MotionMatcher.cpp:26
void setVelocityWeight(float w)
Definition MotionMatcher.cpp:53
void setPoseWeight(float w)
Definition MotionMatcher.cpp:48
MotionDatabase * getDatabase() const
Definition MotionMatcher.h:26
void setTrajectoryWeight(float w)
Definition MotionMatcher.cpp:43
float getSearchInterval() const
Definition MotionMatcher.h:38
void setIgnoreRadius(int frames)
Skip rematching the same frame / nearby frames to reduce jitter.
Definition MotionMatcher.cpp:58
MotionMatcher & operator=(const MotionMatcher &)=delete
float getDesiredYaw() const
Definition MotionMatcher.h:35
float getVelocityWeight() const
Definition MotionMatcher.h:46
int getIgnoreRadius() const
Definition MotionMatcher.h:50
int getMatchedClipIndex() const
Definition MotionMatcher.cpp:63
float getLastSearchCost() const
Definition MotionMatcher.h:55
float getPoseWeight() const
Definition MotionMatcher.h:44
void setSearchInterval(float seconds)
Definition MotionMatcher.cpp:33
float getTrajectoryWeight() const
Definition MotionMatcher.h:42
~MotionMatcher()=default
float getDesiredVelocityZ() const
Definition MotionMatcher.h:31
MotionMatcher(const MotionMatcher &)=delete
Definition Animation.cpp:29