当前位置: 首页>>代码示例>>C#>>正文


C# BulletSPlugin.BulletShape类代码示例

本文整理汇总了C#中OpenSim.Region.Physics.BulletSPlugin.BulletShape的典型用法代码示例。如果您正苦于以下问题:C# BulletShape类的具体用法?C# BulletShape怎么用?C# BulletShape使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BulletShape类属于OpenSim.Region.Physics.BulletSPlugin命名空间,在下文中一共展示了BulletShape类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BSPhysObject

    protected BSPhysObject(BSScene parentScene, uint localID, string name, string typeName)
    {
        PhysicsScene = parentScene;
        LocalID = localID;
        PhysObjectName = name;
        TypeName = typeName;

        // We don't have any physical representation yet.
        PhysBody = new BulletBody(localID);
        PhysShape = new BulletShape();

        // A linkset of just me
        Linkset = BSLinkset.Factory(PhysicsScene, this);
        LastAssetBuildFailed = false;

        // Default material type
        Material = MaterialAttributes.Material.Wood;

        CollisionCollection = new CollisionEventUpdate();
        SubscribedEventsMs = 0;
        CollidingStep = 0;
        CollidingGroundStep = 0;
    }
开发者ID:justasabc,项目名称:opensim75grid,代码行数:23,代码来源:BSPhysObject.cs

示例2: BuildHullShapeFromMesh

 public abstract BulletShape BuildHullShapeFromMesh(BulletWorld world, BulletShape meshShape, HACDParams parms);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例3: SetShapeCollisionMargin

 public abstract void SetShapeCollisionMargin(BulletShape shape, float margin);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例4: SetLocalScaling

 public abstract void SetLocalScaling(BulletShape shape, Vector3 scale);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例5: RemoveChildShapeFromCompoundShapeIndex

 public abstract BulletShape RemoveChildShapeFromCompoundShapeIndex(BulletShape cShape, int indx);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例6: RecalculateCompoundShapeLocalAabb

 public abstract void RecalculateCompoundShapeLocalAabb(BulletShape cShape);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例7: IsPolyhedral

 public abstract bool IsPolyhedral(BulletShape shape);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例8: IsNativeShape

 public abstract bool IsNativeShape(BulletShape shape);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例9: GetAngularMotionDisc

 // =====================================================================================
 // btCollisionShape entries
 public abstract float GetAngularMotionDisc(BulletShape shape);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:3,代码来源:BSApiTemplate.cs

示例10: DuplicateCollisionShape

 public abstract BulletShape DuplicateCollisionShape(BulletWorld sim, BulletShape srcShape, UInt32 id);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例11: DumpCollisionShape

 public virtual void DumpCollisionShape(BulletWorld sim, BulletShape collisionShape)
 {
 }
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:3,代码来源:BSApiTemplate.cs

示例12: DeleteCollisionShape

 public abstract bool DeleteCollisionShape(BulletWorld world, BulletShape shape);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例13: CreateGhostFromShape

 public abstract BulletBody CreateGhostFromShape(BulletWorld sim, BulletShape shape, UInt32 id, Vector3 pos, Quaternion rot);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例14: CreateBodyWithDefaultMotionState

 public abstract BulletBody CreateBodyWithDefaultMotionState(BulletShape shape, UInt32 id, Vector3 pos, Quaternion rot);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs

示例15: CalculateLocalInertia

 public abstract Vector3 CalculateLocalInertia(BulletShape shape, float mass);
开发者ID:KSLcom,项目名称:Aurora-Sim,代码行数:1,代码来源:BSApiTemplate.cs


注:本文中的OpenSim.Region.Physics.BulletSPlugin.BulletShape类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。