cocos icon
    English
resource-icon
collide_system v2.3.0
Category
Creator Extension Plugins
Author
fanhaining
Creator Version Required
v3.0.0
Supported Platform
AndroidiOSHTML5
Rating
Sale Price
$ 5.00 (Individual)

Introduction

Plug-in Features

  1. Visual configuration parameters, without a single line of code

  2. Built-in quadtree, one click to open

  3. Drive functions can be called externally to meet different drive frequency settings to improve performance

  4. Collision grouping dynamic deletion and addition, support for custom parameters, individual drawing and other features

How to use

  1. After installation, [Extensions] -> [Collision System] -> [Import Code] import the code

  2. Add the collision component lq_collide to the two components you need

3.Open the system

import {LQCollideSystem} from "... /lq_collide_system/lq_collide_system";

protected start(): void {
     LQCollideSystem.is_enable = true;
}

Now run the program to see the console message

object1 collide
object2 collide

API Manual

Inheritance override for detecting callback methods

``` import {LQCollide} from ". /lq_collide_system/lq_collide";

export class Role extends LQCollide { public on_collide(collide: LQCollide): void { console.log(collide); } }

User Rating

Average Rating
(4.82)
Total users participating at this score: 11

Reviews

yzy156 2021-11-26 11:33

3.x版本可以用吗?

Author

可以的,不过是2d层面的

肖_平 2021-11-11 16:46

作者大大的这个,真心可以代替cocos自带的碰撞组件了,就是一个大大的赞

yesoool4 2021-10-10 21:07

lq_collide_system.js 还混淆了,想自己改或找问题都麻烦。。有必要吗?

hhhh5820 2021-09-15 16:26

能发个demo给我吗?

Author

加我q 243011068

peteryao 2021-09-02 11:32

好评,性能提高了。作者服务非常好5星满分。非常感谢!

kyoiori407 2021-08-10 11:02

很好用,提升很大,物超所值!2.x的版本找大佬改改也可以使用 大佬服务超棒,有问必答,五星好评!

Author

感谢,更正一下那只是2.2.2版本的一个bug,现已修复,所有cocos版本都可正常使用

q764930142 2021-07-08 10:10

有demo吗

Author

有的,购买插件之后加我qq我发给你

LYF525458 2021-06-15 10:38

建议加个拖拽改变碰撞框大小位置的功能

Author

抱歉,插件不太容易实现引擎内的功能

chenyegui1 2021-06-14 16:15

反馈一个bug,圆形与多边形碰撞检测存在不精准的情况,解决方法 cache_axes方法内,圆形存储法线 collide1.cache_axes.push(this.get_axe(collide1.world_rect.pos(),zero)); //圆形反向法线 collide1.cache_axes.push(this.get_axeRever(collide1.world_rect.pos(),zero));//圆形法线

Author

有空我验证一下,感谢

chenyegui1 2021-05-31 17:22

不支持旋转啊

Author

矩形不支持旋转,需要旋转可以用多边形

  • 1
  • 2

2020 © Cocos.com版权所有

增值电信业务经营许可证:闽B2-20160169

闽ICP备14002653号-6

闽公网安备 35020302033941号