当前位置:网站首页>Esmini longspeedaction modification
Esmini longspeedaction modification
2022-07-05 07:35:00 【sukhoi27smk】
esmini Of LongSpeedAction, If shape Set to step Words ,DynamicsDimension Actually, it is invalid ,
because step It means setting directly , stay LongSpeedAction Of Start The process is over after setting ,Step It's not there
perform .
If we were step Under the circumstances , Want to make LongSpeedAction Last for a period of time before ending , It can be modified like this .
stay Start Removing the OSCAction::End()
if (transition_dynamics_.shape_ == DynamicsShape::STEP)
{
object_->SetSpeed(target_->GetValue());
if (!(target_->type_ == Target::TargetType::RELATIVE && ((TargetRelative*)target_)->continuous_ == true))
{
//OSCAction::End();
}
}stay Step Add this sentence to
if (transition_dynamics_.shape_ == DynamicsShape::STEP && transition_dynamics_.dimension_ == DynamicsDimension::TIME)
{
elapsed_ += dt;
if (elapsed_ >= transition_dynamics_.target_value_)
OSCAction::End();
return;
}边栏推荐
- golang定时器使用踩的坑:定时器每天执行一次
- C learning notes
- 苏打粉是什么?
- 611. Number of effective triangles
- The number of occurrences of numbers in the offer 56 array (XOR)
- Ugnx12.0 initialization crash, initialization error (-15)
- CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
- Apple system shortcut key usage
- How can Oracle SQL statements modify fields that are not allowed to be null to allow nulls?
- Basic series of SHEL script (I) variables
猜你喜欢

The folder directly enters CMD mode, with the same folder location

Delayqueue usage and scenarios of delay queue

Detailed explanation of miracast Technology (I): Wi Fi display

DelayQueue延迟队列的使用和场景

And play the little chestnut of dynamic agent

Set theory of Discrete Mathematics (I)

Pagoda create multiple sites with one server

Machine learning Seaborn visualization

HDU1231 最大连续子序列(分治or动规or双指针)

Anaconda navigator click open no response, can not start error prompt attributeerror: 'STR' object has no attribute 'get‘
随机推荐
II Simple NSIS installation package
How to deal with excessive memory occupation of idea and Google browser
Eclipse project recompile, clear cache
Raspberry pie 4B arm platform aarch64 PIP installation pytorch
Matrix and TMB package version issues in R
(top) pretty girl binary color code portal
[node] differences among NPM, yarn and pnpm
Pit record of Chmod 2 options in deepin
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
Detour of Tkinter picture scaling
Differences between pycharm and idle and process -- join() in vs Code
UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)
Efficiency difference: the add method used by the set directly and the add method used by the set after judgment
What is Bezier curve? How to draw third-order Bezier curve with canvas?
M2dgr slam data set of multi-source and multi scene ground robot
Pagoda create multiple sites with one server
How to modify the file path of Jupiter notebook under miniconda
611. 有效三角形的个数
Apple script
With the help of Navicat for MySQL software, the data of a database table in different or the same database link is copied to another database table