rope工具包为您的项目带来了稳定和快速的Rope物理。模拟需要主动碰撞检测的简单线或更高级的滑轮和重物设置。手机友好!
版本:Rope Minikit v2.2.0

特征

*稳定快速的绳索物理学

*移动友好!

*许多可调整的用户参数

*使用SplitAt()方法动态拆分绳索的能力

* 4种不同的绳索连接类型允许与场景的其余部分进行交互

-要转换的销绳

-销转换成绳索

-将刚体拉到绳子上

-刚体和绳索之间的双向耦合

*用于调整绳索产卵曲线的场景视图手柄

*使用Unity jobs和拆分编译器可以实现高性能

-启用碰撞的示例场景的典型性能:

– ~0.2毫秒花费在作业线程上

-在主线程上花费了大约0.7毫秒

-禁用碰撞的示例场景的典型性能:

– ~0.15毫秒花费在作业线程上

-在主线程上花费了大约0.35毫秒

*完整源代码

*场景示例

-主

-展示了在典型场景中绳索和刚体是如何连接在一起的

-使用鼠标与绳子互动,空格键拆分正在互动的绳子

-动态技术

-展示了如何使用脚本连接和分离绳索

-盒形环

-展示了绳索和刚体如何通过碰撞相互影响

当前的限制

*仅凸网格、长方体、球体和胶囊碰撞器支持碰撞

*创建稳定的绳索悬吊平台而非绳索桥所需的脚本知识


The Rope Toolkit brings stable and fast rope physics to your project. Simulate simple wires or more advanced setups with pulleys & weights that require active collision detection. Mobile friendly!

The Rope Toolkit brings stable and fast rope physics to your project. The rope component can be used to simulate simple wires or more advanced setups with pulleys and weights that require active collision detection. The bundled example scenes show how to connect the rope up to simulate cranes, rope bridges, swings and a boxing ring.

The rope component is written with performance in mind and many compute intensive tasks are handled by Unity jobs on separate threads accelerated using the Burst compiler. As a result, the toolkit has excellent performance on mobile devices.

技术细节
Requirements

* Burst 1.1.2 or above

Features

* Stable & fast rope physics

* Mobile friendly!

* Many tweakable user parameters

* Ability to dynamically split ropes using the SplitAt() method

* 4 different rope connection types allow interaction with the rest of the scene

– Pin Rope To Transform

– Pin Transform To Rope

– Pull Rigidbody To Rope

– Two Way Coupling Between Rigidbody And Rope

* Scene view handles for adjusting rope spawn curve

* High performance is achieved using Unity jobs and the Burst compiler

– Typical performance for the example scene with collisions enabled:

– ~0.2 ms spent in job threads

– ~0.7 ms spent on the main thread

– Typical performance for the example scene with collisions disabled:

– ~0.15 ms spent in job threads

– ~0.35 ms spent on the main thread

* Full source code

* Example scenes

– Main

– Shows how ropes and rigidbodies can be connected together in a typical scene

– Use the mouse to interact with the rope and the Space key to split ropes being interacted with

– DynamicAttach

– Shows how to attach and detach ropes using the scripts

– BoxingRing

– Shows how rope and rigidbodies can influence each other through collisions

Current Limitations

* Collision support for convex Mesh, Box, Sphere and Capsule colliders only

* Scripting knowledge required for creating stable rope suspended platforms other than rope bridges

发表回复

后才能评论