flagflag  
1: 2009-08-26 (Wed) 17:45:04 iseki source 2: 2009-08-26 (Wed) 20:40:54 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 
 + 
 +*** OpenSim/Region/Framework/Scenes/ScenePre​sence.cs [#pda1c220] 
 +- 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

29 user(s) are online (4 user(s) are browsing xpwiki)

Members: 0
Guests: 29

more...

Access Counter

Today : 3353335333533353
Yesterday : 4505450545054505
Total : 2372684523726845237268452372684523726845237268452372684523726845
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com