Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
If you want to see English page, please click "English" Button at Left.
[
タイトル一覧
|
ページ一覧
|
新規
|
単語検索
|
最終更新
|
ヘルプ
]
OpenSim/hack/emergencyPos
をテンプレートにして作成
[
トップ
]
[ ]
開始行:
*** SIMの境界で,座標な不正になった場合に,強制的に ''eme...
- OpenSim/Region/Framework/Scenes/ScenePresence.cs
- MakeRootAgent()
if (pos.X < 0 || pos.X >= (int)Constants.RegionSize || p...
m_log.WarnFormat("[SCENE PRESENCE]: MakeRootAgent() ...
if (pos.X < 0) pos.X = 0;
else if (pos.X >= (int)Constants.RegionSize) pos.X =...
if (pos.Y < 0) pos.Y = 0;
else if (pos.Y >= (int)Constants.RegionSize) pos.Y =...
if (pos.Z < 0) pos.Z = 0;
}
/*
if (pos.X < 0 || pos.X >= (int)Constants.RegionSize || p...
{
Vector3 emergencyPos = new Vector3(((int)Constants.R...
m_log.WarnFormat(
"[SCENE PRESENCE]: MakeRootAgent() was given an ...
pos, Name, UUID, emergencyPos);
pos = emergencyPos;
}
*/
*** 上記の様に変更した場合,CrossToNewRegion() でエラーが...
- OpenSim/Region/Framework/Scenes/ScenePresence.cs
- CrossToNewRegion()
/// <summary>
/// Moves the agent outside the region bounds
/// Tells neighbor region that we're crossing to it
/// If the neighbor accepts, remove the agent's viewable...
/// set them to a child agent.
/// </summary>
protected void CrossToNewRegion()
{
// Fumi.Iseki
if (m_scene==null || m_physicsActor==null) return;
InTransit();
m_scene.CrossAgentToNewRegion(this, m_physicsActor.F...
}
終了行:
*** SIMの境界で,座標な不正になった場合に,強制的に ''eme...
- OpenSim/Region/Framework/Scenes/ScenePresence.cs
- MakeRootAgent()
if (pos.X < 0 || pos.X >= (int)Constants.RegionSize || p...
m_log.WarnFormat("[SCENE PRESENCE]: MakeRootAgent() ...
if (pos.X < 0) pos.X = 0;
else if (pos.X >= (int)Constants.RegionSize) pos.X =...
if (pos.Y < 0) pos.Y = 0;
else if (pos.Y >= (int)Constants.RegionSize) pos.Y =...
if (pos.Z < 0) pos.Z = 0;
}
/*
if (pos.X < 0 || pos.X >= (int)Constants.RegionSize || p...
{
Vector3 emergencyPos = new Vector3(((int)Constants.R...
m_log.WarnFormat(
"[SCENE PRESENCE]: MakeRootAgent() was given an ...
pos, Name, UUID, emergencyPos);
pos = emergencyPos;
}
*/
*** 上記の様に変更した場合,CrossToNewRegion() でエラーが...
- OpenSim/Region/Framework/Scenes/ScenePresence.cs
- CrossToNewRegion()
/// <summary>
/// Moves the agent outside the region bounds
/// Tells neighbor region that we're crossing to it
/// If the neighbor accepts, remove the agent's viewable...
/// set them to a child agent.
/// </summary>
protected void CrossToNewRegion()
{
// Fumi.Iseki
if (m_scene==null || m_physicsActor==null) return;
InTransit();
m_scene.CrossAgentToNewRegion(this, m_physicsActor.F...
}
ページ名:
サイト内 検索
高度な検索
ログイン
ユーザー名:
パスワード:
パスワード紛失
新規登録
サブ メニュー
新着情報
Books
リンク
サイトマップ
e-Learning
TUIS 認証局証明書
ミニカレンダー
2025年 5月
日
月
火
水
木
金
土
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
31
<今日>
オンライン状況
114 人のユーザが現在オンラインです。 (4 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 114
もっと...
アクセスカウンタ
今日 :
昨日 :
総計 :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com