flagflag  
1: 2009-08-26 (Wed) 17:45:04 iseki source Cur: 2009-08-31 (Mon) 17:53:10 iseki source
Line 2: Line 2:
- OpenSim/Region/Framework/Scenes/ScenePre​sence.cs の RealHandleAgentUpdate() がイベントハンドラとして呼び出される. - OpenSim/Region/Framework/Scenes/ScenePre​sence.cs の RealHandleAgentUpdate() がイベントハンドラとして呼び出される.
- RealHandleAgentUpdate() から UpdateMovementAnimations() が呼び出される. - RealHandleAgentUpdate() から UpdateMovementAnimations() が呼び出される.
-- UpdateMovementAnimations() から GetMovementAnimation() が呼び出される.+- UpdateMovementAnimations() から GetMovementAnimation() と TrySetMovementAnimation() が呼び出される. 
 + 
 +- ScenePresence クラスの m_movementAnimation には直前のアニメーションが保存されている 
 + 
 +#br 
 + 
 +*** アニメーションの種類 [#ze5583b2] 
 +- FALLDOWN 
 +- JUNP 
 +- PREJUMP 
 +- CROUCHWALK 
 +- CROUCH 
 +- RUN 
 +- WALK 
 +- FLY 
 +- FLYSLOW 
 +- HOVER 
 +- HOVER_UP 
 +- HOVER_DOWN 
 +- STAND 
 +- LAND 
 +- SOFT_LAND 
 +- SIT 
 +- SIT_GROUND_CONSTRAINED 
 +#br 
 + 
 +*** 地上で落下のアニメーションを再生させない [#ba55e9c3] 
 +- OpenSim/Region/Framework/Scenes/ScenePre​sence.cs 
 +- RealHandleAgentUpdate() 
 +- UpdateMovementAnimations() を呼び出す前方に挿入 
 + if (!m_physicsActor.Flying && m_movementAnimation=="FALLDOWN" 
 +                           && (m_physicsActor.IsColliding || m_physicsActor.CollidingGround)) { 
 +     update_movementflag = true; 
 + } 
 + 
 +*** おまけ [#r999b3d7] 
 +- ScenePresence.cs で標高を取り出す関数~ 
 + float height = m_scene.GetGroundHeight(m_pos.X, m_pos.Y); 
 + 
 +#br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthJun 2024Next Month
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Today

Who's Online

67 user(s) are online (3 user(s) are browsing xpwiki)

Members: 0
Guests: 67

more...

Access Counter

Today : 6393639363936393
Yesterday : 8975897589758975
Total : 2380090323800903238009032380090323800903238009032380090323800903
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com