[星塵] Waypoints - 追蹤指定路徑
我寫了一個新的FollowWaypoints class
可以讓粒子遵循指定的路徑移動
(另外還有3D版本:FollowWaypoints3D)
這裡有個demo
結點是可以拖曳的唷:)
http://cjcat.blogspot.com/2009/08/waypoints.html
我是參考Keith Peters寫的AdvancED ActionScript 3.0 Animation
Steering Behaviors章節的Path Following小節
其中所提到的演算法
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.80.60
※ 編輯: cjcat2266 來自: 61.228.80.60 (08/23 23:34)
推
08/24 02:15, , 1F
08/24 02:15, 1F
推
08/24 04:07, , 2F
08/24 04:07, 2F
推
08/24 07:47, , 3F
08/24 07:47, 3F
推
08/27 07:01, , 4F
08/27 07:01, 4F
→
08/27 10:33, , 5F
08/27 10:33, 5F
推
08/28 11:09, , 6F
08/28 11:09, 6F
→
08/28 11:27, , 7F
08/28 11:27, 7F