也是帮网友写的。不过最后没用上。哈哈。

targetPF = $

startTime = AnimationRange.Start.Frame
endTime = AnimationRange.End.Frame particlesCount = targetPF.numParticlesGenerated() particleMeshs = #()
particleMeshs[particlesCount] = undefined for timeIndex = startTime to endTime do
(
SliderTime = timeIndex
for particID = to particlesCount do
(
targetPF.particleID = particID
if targetPF.particleShape != undefined then
(
if particleMeshs[particID] == undefined do
(
particleMeshs[particID] = Editable_Mesh()
particleMeshs[particID].mesh = targetPF.particleShape
particleMeshs[particID].name = Uniquename "ParticleFlowCollapse"
with animate on
(
for tt = startTime to timeIndex do
at time tt
(
zeroMatrix = matrix3
zeroMatrix.Position = targetPF.particleTM.Position
particleMeshs[particID].transform = zeroMatrix
)
)
)
with animate on
(
particleMeshs[particID].transform = targetPF.particleTM
)
)
else
(
if particleMeshs[particID] != undefined do
(
with animate on
(
zeroMatrix = particleMeshs[particID].transform
zeroMatrix.scale = [,,]
particleMeshs[particID].transform = zeroMatrix
)
)
)
)
)

最新文章

  1. PLSQL配置新的oracle实例
  2. 资源等待类型sys.dm_os_wait_stats
  3. MySQL 存储过程基本函数
  4. 开发一个简单的python计算器
  5. SQL Server 2012安装后找不到服务器名称的解决办法!!!
  6. ASP.NET使用ConfigurationSection在Web.Config创建自定义配置节集合
  7. 北理工c语言期末考试
  8. LTE Module User Documentation(翻译14)——Uplink Power Control(上行功率控制)
  9. Verilog之电平检测
  10. CollectionView添加头尾部
  11. Expression Blend制作自定义按钮(转)
  12. 杭电ACM2058--The sum problem
  13. 简单的FTP上传下载(java实现 swing界面)
  14. JS和CSS中引号的使用
  15. go语言打造p2p网络
  16. 2018-10-04 [日常]用Python读取word文档中的表格并比较
  17. Springboot学习笔记(三)-常用注入组件方式
  18. tsm 存放磁带到带库
  19. 签名Cookie
  20. day22 面向对象基础

热门文章

  1. jsp 学习 第2步 - tag 使用
  2. leetcode400
  3. 纯C++binder服务和客户端实例
  4. 用TImageList动态画透明图片
  5. 第七章 资源在Windows编程中的应用 P157 7-8
  6. [SoapUI]怎样保存response到本地文件夹
  7. chrome url protocol 提示配置文件路径
  8. JAVA array,map 转 json 字符串
  9. 小程序报错Do not have xx handler in current page的解决方法
  10. Hadoop中Writable类之三