mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交无缝数据回滚
This commit is contained in:
@@ -70,35 +70,35 @@ namespace Game.JNGFrame.Logic.System
|
||||
}
|
||||
|
||||
//添加避障
|
||||
public void AddAgent(long id,LVector3 start)
|
||||
public void AddAgent(ulong id,LVector3 start)
|
||||
{
|
||||
Root.AddAgent(id,new RcVec3f(start.x,start.y,start.z));
|
||||
}
|
||||
public void AddAgent(long id,LVector3 start,DtCrowdAgentParams agentParams)
|
||||
public void AddAgent(ulong id,LVector3 start,DtCrowdAgentParams agentParams)
|
||||
{
|
||||
Root.AddAgent(id,new RcVec3f(start.x,start.y,start.z),agentParams);
|
||||
}
|
||||
|
||||
//删除避障
|
||||
public void DelAgent(long id)
|
||||
public void DelAgent(ulong id)
|
||||
{
|
||||
Root.DelAgent(id);
|
||||
}
|
||||
|
||||
//移动避障
|
||||
public void MoveAgent(long id,LVector3 move)
|
||||
public void MoveAgent(ulong id,LVector3 move)
|
||||
{
|
||||
Root.MoveAgent(id,new RcVec3f(move.x,move.y,move.z));
|
||||
}
|
||||
|
||||
//向量移动避障
|
||||
public void VectorMoveAgent(long id,LVector2 vector)
|
||||
public void VectorMoveAgent(ulong id,LVector2 vector)
|
||||
{
|
||||
Root.VectorMoveAgent(id,new RcVec3f(vector.x,0,vector.y));
|
||||
}
|
||||
|
||||
//获取避障
|
||||
public DtCrowdAgent GetAgent(long id)
|
||||
public DtCrowdAgent GetAgent(ulong id)
|
||||
{
|
||||
return Root.GetAgent(id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user