当前位置:网站首页>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;
}边栏推荐
- And let's play dynamic proxy (extreme depth version)
- repo. conda. An example of COM path error
- Jenkins reported an error. Illegal character: '\ufeff'. Class, interface or enum are required
- Idea push project to code cloud
- Pytorch has been installed in anaconda, and pycharm normally runs code, but vs code displays no module named 'torch‘
- 第 2 章:小试牛刀,实现一个简单的Bean容器
- Leetcode solution - number of islands
- Rough notes of C language (1)
- The number of occurrences of numbers in the offer 56 array (XOR)
- Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
猜你喜欢

Rough notes of C language (1)

玩转gRPC—深入概念与原理

Chapter 2: try to implement a simple bean container

Leetcode solution - number of islands

CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)

How to deal with excessive memory occupation of idea and Google browser

Ugnx12.0 initialization crash, initialization error (-15)

大学生活的自我总结-大一

Light up the running light, rough notes for beginners (1)

Today, share the wonderful and beautiful theme of idea + website address
随机推荐
NSIS search folder
DataGrid offline installation of database driver
NSIS finds out whether the file exists and sets the installation path
Typescript get timestamp
Apple terminal skills
Apple input method optimization
Process (P) runs, and idle is different from pycharm
Detour of Tkinter picture scaling
What is soda?
Self summary of college life - freshman
Simple use of timeunit
Miracast技术详解(一):Wi-Fi Display
纯碱是做什么的?
What if the DataGrid cannot see the table after connecting to the database
使用go语言读取txt文件写入excel中
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
Charles- unable to grab bags and surf the Internet
Build your own random wallpaper API for free
Don't confuse the use difference between series / and / *
[idea] common shortcut keys