当前位置:网站首页>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;
}
边栏推荐
- Simple operation of nixie tube (keil5)
- UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)
- Batch convert txt to excel format
- 纯碱是做什么的?
- I implement queue with C I
- golang定时器使用踩的坑:定时器每天执行一次
- QT small case "addition calculator"
- HDU1231 最大连续子序列(分治or动规or双指针)
- When jupyter notebook is encountered, erroe appears in the name and is not output after running, but an empty line of code is added downward, and [] is empty
- Leetcode solution - number of islands
猜你喜欢
Rough notes of C language (1)
CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
大学生活的自我总结-大一
CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
CADD course learning (6) -- obtain the existing virtual compound library (drugbank, zinc)
The number of occurrences of numbers in the offer 56 array (XOR)
Miracast技术详解(一):Wi-Fi Display
剑指 Offer 56 数组中数字出现的次数(异或)
Today, share the wonderful and beautiful theme of idea + website address
And let's play dynamic proxy (extreme depth version)
随机推荐
[neo4j] common operations of neo4j cypher and py2neo
Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
golang定时器使用踩的坑:定时器每天执行一次
目标检测系列——Faster R-CNN原理详解
HDU1231 最大连续子序列(分治or动规or双指针)
[idea] common shortcut keys
Anaconda pyhton multi version switching
Basic series of SHEL script (I) variables
Unforgettable summary of 2021
What is Bezier curve? How to draw third-order Bezier curve with canvas?
Install deeptools in CONDA mode
Rough notes of C language (1)
Idea push project to code cloud
公安专业知识--哔哩桐老师
And let's play dynamic proxy (extreme depth version)
Reading literature sorting 20220104
cygwin
NPM and package common commands
static的作用
UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)