#include <IXSkeletalBody.h>
◆ AttachShape()
◆ DebugDraw() [1/2]
IXSkeletalBody_DebugDraw00
- 参数
-
- 返回
- void
◆ DebugDraw() [2/2]
IXSkeletalBody_DebugDraw01
- 参数
-
- 返回
- void
◆ DetachAllShapes()
◆ GetAngularDamping()
◆ GetBoneName()
◆ GetDensity()
IXSkeletalBody_GetDensity00
- 返回
- number
◆ GetFilterData()
获取碰撞过滤
- 返回
- number 默认是0xFFFF
◆ GetLinearDamping()
◆ GetLinearVelocity()
获取刚体移动速度(注意:如果未开启模拟,无效)
- 返回
- XVECTOR3 刚体移动速度
◆ GetMaterial()
获取刚体形状表面材质
- 返回
- XShapeMaterial 刚体形状表面材质
◆ GetPhysicsBlendWeight()
获取物理融合权重
- 返回
- number 物理融合权重(xfloat32类型)
◆ GetShapes()
◆ IsGravityEnabled()
◆ IsKinematic()
获取是否为Kinematic类型
- 返回
- boolean 是否为Kinematic类型
◆ IsSimulatePhysics()
判断是否开启模拟物理
- 返回
- boolean 是否开启模拟物理
◆ new()
◆ SetAngularDamping()
◆ SetDensity()
IXSkeletalBody_SetDensity00
- 参数
-
- 返回
- void
◆ SetFilterData()
◆ SetGravityEnabled()
◆ SetKinematic()
设置是否为Kinematic类型,不受场景中其他物体影响,可以被用户控制并影响其他物体
- 参数
-
bSet | boolean true:设置为Kinematic类型;false:设置为非Kinematic类型 |
- 返回
- void
◆ SetKinematicTransform()
设置Kinematic物体的变换矩阵
- 参数
-
- 返回
- void
◆ SetLinearDamping()
◆ SetLinearVelocity()
设置刚体移动速度(注意:如果未开启模拟,无效)
- 参数
-
- 返回
- void
◆ SetMaterial()
设置刚体形状表面材质
- 参数
-
mat | XShapeMaterial 刚体形状表面材质 |
- 返回
- void
◆ SetPhysicsBlendWeight()
设置物理融合权重
- 参数
-
fPhysicsBlendWeight | number 物理融合权重(xfloat32类型) |
- 返回
- void
◆ SetShape()
◆ SetSimulatePhysics()
设置是否开启模拟物理
- 参数
-
bSimulatePhysics | boolean 是否开启模拟物理 |
- 返回
- void
◆ fLength
@type number Cylinder height
◆ fRadius
◆ qRotation
◆ vCenter
◆ XSphylShapeElem