Monday, July 18, 2022
HomeGame DevelopmentCocos creator do Intersection like cocos2dx c++ - Cocos Creator

Cocos creator do Intersection like cocos2dx c++ – Cocos Creator


i’m utilizing newest model of cocos creator 3.5.2. kindly assist me to make use of dynamic contact occasions(additionally similar for native not solely html5) for all sprites & objects and dynamic intersection( getBoundingBox()- one thing like this) like cocos2dx in cocos creator. kindly please assist. @CocosMarketing are you able to please assist.


I didn’t perceive your query clearly, however if you’re on the lookout for the way to get callbacks for contact occasions right here is the hyperlink in documentation.
https://docs.cocos.com/creator/guide/en/engine/occasion/event-input.html

means in cocos2dx we’re do intersection with “getBoundingBox().interesectionrect” so right here what’s the possibility for that. principally how i can intersect two sprite with out physics like cocos2dx.

@vkrishna if doable are you able to please publish one instance or any git repository the place there’s a correct instance of that every one staple items. thanks for variety replay.

https://docs.cocos.com/creator/guide/en/physics-Second/physics-Second.html

These are all within the documentation.

hello if my node suppose title A was added in canvas now B added in A and C into B then how i’ll get correct contact occasions (all)
of B and C in cocos creator 3.5.2. please give me particulars with instance please please @CocosMarketing. @linrm @vkrishna please assist me. Any assist Attainable???

@CocosMarketing any assist doable ??

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments