• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 43 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0024 秒)

41. 官方案例里摄像机绕物体旋转脚本的问题 [ 52%]

..._IsSingleFinger: boolean; /* private void ScaleCamera() { //计算出当前两点触摸点的位置 var tempPosition1 = Input.GetTouch(0).position; var tempPosition2 = Input.GetTouch(1).position; float currentTouchDistance = Vector3.Distance(tempPosition1, tempPosition2); float lastTouchDistance = V...

来源: Laya_社区 发布时间: 20190224

42. laya.physics.joint.DistanceJoint_API3.0 [ 35%]

...int Class DistanceJoint 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Hierarchy JointBase DistanceJoint Index Constructors constructor Properties _extra _singleton collideConnected otherAnchor otherBody owner runInEditor scriptPath selfAnchor selfBody Accessors...

来源: Laya3.0_api 发布时间: 20231115

43. LayaAirIDE的可视化2D物理编辑入门(TypeScript-IDE篇(TS)-使用2d物理系统) [ 32%]

...这个约束的距离。 默认状态下像铁棍一样始终固定连接两点。也可以像弹簧一样连接着两个刚体点。 ![img](img/9-1.png) (图9-1) ##### 另一个刚体 `otherBody` 距离关节必须由两个刚体组成,otherBody属性用于绑定另一个刚体,此处需要...

来源: Laya2.0_文档 发布时间: 20210714