#include <XEPhysicsSkeletalRoot.h>
◆ CreateConstraintInPhysicsWorld()
在两个骨骼之间创建关节
- 参数
-
szBone1Name | string |
szBone2Name | string |
- 返回
- boolean 是否创建成功
◆ CreateConstraintNode()
◆ CreatePhysicsSkeletalBodyNode()
◆ CreateSkeletalBodyInPhysicsWorld()
在骨骼中创建刚体
- 参数
-
- 返回
- boolean 是否创建成功
◆ GetIsModify()
◆ GetPhyAssetPath()
获取绑定的物理文件资源地址
- 返回
- string 物理文件资源地址
◆ GetSkeAssetPath()
获取当骨骼的资源地址
- 返回
- string 骨骼的资源地址
◆ GetXSkeletalPhysicsRes()
◆ LoadSkeletalPhyAsset()
为骨骼加载物理文件
- 参数
-
szPhyResPath | string 物理文件资源地址 |
szSkePath | string |
- 返回
- boolean
◆ new()
◆ RemoveConstraintFromPhysicsWorld()
移除两个骨骼所关联的关节
- 参数
-
szBone1Name | string |
szBone2Name | string |
- 返回
- void
◆ RemoveNodeTempate()
function XEPhysicsSkeletalRoot RemoveNodeTempate |
( |
pNode |
, |
|
|
bIncludeChild |
, |
|
|
bReleaseMemory |
, |
|
|
bReleaseNodes |
|
|
) |
| |
移除节点的模板
- 参数
-
pNode | XEUserNode |
bIncludeChild | boolean |
bReleaseMemory | boolean |
bReleaseNodes | boolean |
- 返回
- void
◆ RemovePhysicsSkeletalBodyFromPhysicsWorld()
◆ Save()
引擎物理资源管理器保存对应的物理资源
- 返回
- boolean
◆ SetIsModify()
◆ XEPhysicsSkeletalRoot