-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e93902
commit cb2aa9b
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
# TrueSyncExample | ||
|
||
这是一个帧同步的插件,具有确定性物理引擎,定点函数库,碰撞检测,高度封装,跟unity函数库保持高度一致。 | ||
|
||
一:其中有5个场景示例文件: | ||
|
||
001:测试自然物理刚体学 002:测试自然物理碰撞 003:测试物理碰撞检测 004:测试复杂环境之下的物理碰撞 005:测试不规则碰撞及检测 | ||
|
||
二:检测碰撞相关消息: public void OnSyncedCollisionEnter(TSCollision other) { | ||
|
||
} | ||
public void OnSyncedCollisionStay(TSCollision other) | ||
{ | ||
|
||
} | ||
public void OnSyncedCollisionExit(TSCollision other) | ||
{ | ||
|
||
} | ||
public void OnSyncedTriggerEnter(TSCollision other) | ||
{ | ||
|
||
} | ||
public void OnSyncedTriggerStay(TSCollision other) | ||
{ | ||
|
||
} | ||
public void OnSyncedTriggerExit(TSCollision other) | ||
{ | ||
|
||
} | ||
三:注意事项: 1.0 场景中需要TrueSyncManager环境 2.0 生成的预制体需要由TrueSyncManager生成,具有TrueSyncBehavir环境 3.0 物理出现平滑位移应该指定TsMaterial控制阻尼系数,恢复系数。 |