当前位置:网站首页>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)
- Build your own random wallpaper API for free
- Play with grpc - go deep into concepts and principles
- 氫氧化鈉是什麼?
- Database SQL practice 4. Find the last of employees in all assigned departments_ Name and first_ name
- The number of occurrences of numbers in the offer 56 array (XOR)
- Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
- ORACLE CREATE SEQUENCE,ALTER SEQUENCE,DROP SEQUENCE
- What is Bezier curve? How to draw third-order Bezier curve with canvas?
- [idea] common shortcut keys
猜你喜欢

Deepin get file (folder) list

What if the DataGrid cannot see the table after connecting to the database

HDU1232 畅通工程(并查集)

2022年PMP项目管理考试敏捷知识点(7)

arcgis_ spatialjoin

Hdu1231 maximum continuous subsequence (divide and conquer or dynamic gauge or double pointer)

Rough notes of C language (1)

Unforgettable summary of 2021

Using GEE plug-in in QGIS

UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)
随机推荐
Database SQL practice 4. Find the last of employees in all assigned departments_ Name and first_ name
What does soda ash do?
Pagoda create multiple sites with one server
Apple system shortcut key usage
Eclipse project recompile, clear cache
公安专业知识--哔哩桐老师
cygwin
CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)
[neo4j] common operations of neo4j cypher and py2neo
UNIX commands often used in work
Machine learning Seaborn visualization
Exit of pyGame, idle and pycharm
Apple input method optimization
Selenium element positioning
Idea shortcut key
static的作用
Simple operation with independent keys (hey, a little fancy) (keil5)
Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
I 用c l 栈与队列的相互实现
[vscode] recommended plug-ins