大约有 302 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
...lider:PhysicsCollider = plane.addComponent(PhysicsCollider); //创建盒子形状碰撞器 var planeShape:BoxColliderShape = new BoxColliderShape(10, 0, 10); //物理碰撞体设置形状 planeStaticCollider.colliderShape = planeShape; //物理碰撞体设置摩擦力 planeStaticCollider.friction = ...
来源: Laya2.0_文档 发布时间: 20210714
... 浏览: 1970 关注: 4 人 cuixueying • 2017-03-06 13:19 暂时不支持形状碰撞,只有点碰撞,后续会增加形状碰撞! jacksing888 • 2017-03-06 12:08 我其实不是想实现点击 我是想实现 两个物体在运动 这两个物体 是两个怪物 外形不规则,当他们...
来源: Laya_社区 发布时间: 20170306
...做的限制,在bullet引擎下,刚体使用MeshColliderShape的碰撞形状的时候需要使用convex凸多边形,静态碰撞体(PhysicsCollider)在使用MeshColliderShape碰撞形状的时候可以使用convex与非convex。 2024-08-16 0 0 分享 微博 QZONE 微信 layaAir小孟 赞同来...
来源: Laya_社区 发布时间: 20240805
...CannonColliderShape Class CannonColliderShape ColliderShape 类用于创建形状碰撞器的父类,该类为抽象类。 Hierarchy CannonColliderShape CannonBoxColliderShape CannonSphereColliderShape CannonCompoundColliderShape Implements IClone Index Constructors constructor Properties needsCust...
来源: Laya3.0_api 发布时间: 20231102
...liderShape" ColliderShape Class ColliderShape ColliderShape 类用于创建形状碰撞器的父类,该类为抽象类。 Hierarchy ColliderShape CompoundColliderShape MeshColliderShape BoxColliderShape CapsuleColliderShape ConeColliderShape CylinderColliderShape SphereColliderShape StaticPlaneCol...
来源: Laya3.0_api 发布时间: 20231115
...会将NavMesh表面划分为凸多边形区域。它创建的NavMesh区域形状简单,边缘平滑,适合于简单的场景或者对NavMesh形状要求不高的情况。Monotone分割的NavMesh生成速度较快,占用内存相对较少。然而,对于复杂的场景,Monotone分割可能...
来源: Laya3.0_文档 发布时间: 20251010
...ion?: number): boolean Defined in laya/d3/physics/PhysicsSimulation.ts:500 形状检测第一个碰撞的物体。 Parameters shape: ColliderShape 形状。 fromPosition: Vector3 世界空间起始位置。 toPosition: Vector3 世界空间结束位置。 Default value out: HitResult = null 碰撞结...
来源: Laya3.0_api 发布时间: 20231115
...日志更新内容。 4、目前角色控制器默认使用胶囊体碰撞形状,所以场景中显示的是默认的胶囊体大小,后面我们修改下设置角色控制器的胶囊半径与高度与胶囊体碰撞形状的关联,现在直接修改角色控制器面板上的半径与高度...
来源: Laya_社区 发布时间: 20240111
...Hz • 2020-10-17 19:32 有解决办法吗,我也遇到同样的问题,形状检测所有返回的法线全是一样的 136*****507 • 2020-10-15 10:59 你好,我在使用shapeCastAll也出现类似的问题,用boxCollider方形碰撞体做检测,同时触碰到2个不同物体的collider...
来源: Laya_社区 发布时间: 20200810
...ass HeightfieldTerrainShape BoxColliderShape 类用于创建高度图地形形状碰撞器。 Hierarchy ColliderShape HeightfieldTerrainShape Implements IClone Index Constructors constructor Properties dataPtr initSize needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPEORIEN...
来源: Laya3.0_api 发布时间: 20231115