当前位置:网站首页>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;
}
边栏推荐
- Readme, self study record
- Anaconda pyhton multi version switching
- Microservice registry Nacos introduction
- Jenkins reported an error. Illegal character: '\ufeff'. Class, interface or enum are required
- [idea] efficient plug-in save actions to improve your work efficiency
- Line test -- data analysis -- FB -- teacher Gao Zhao
- D2L installation
- M2dgr slam data set of multi-source and multi scene ground robot
- Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
- Chapter 2: try to implement a simple bean container
猜你喜欢
Hdu1232 unimpeded project (and collection)
CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
What is deep learning?
II Simple NSIS installation package
The problem of configuring opencv in qt5.13.2 is solved in detail
M2dgr slam data set of multi-source and multi scene ground robot
How to deal with excessive memory occupation of idea and Google browser
CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
Butterfly theme beautification - Page frosted glass effect
第 2 章:小试牛刀,实现一个简单的Bean容器
随机推荐
Deepin, help ('command ') output saved to file
行测--资料分析--fb--高照老师
I 用c I 实现队列
HDU1232 畅通工程(并查集)
Pytorch has been installed in anaconda, and pycharm normally runs code, but vs code displays no module named 'torch‘
Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
[MySQL] database knowledge record
大学生活的自我总结-大一
list. files: List the Files in a Directory/Folder
[idea] efficient plug-in save actions to improve your work efficiency
Typecho adds Baidu collection (automatic API submission plug-in and crawler protocol)
Anaconda pyhton multi version switching
Process (P) runs, and idle is different from pycharm
golang定时器使用踩的坑:定时器每天执行一次
Oracle-触发器和程序包
QT small case "addition calculator"
[untitled]
Tshydro tool
氫氧化鈉是什麼?
Basic knowledge of public security -- FB