energyy Hello, I'm looking for code sample which detects collision with spine object in Cocos2d-x 3.x C++ (boundig box collision) Can someone help with this?
Mario We currently don't have a good sample for Cocos2d-x I'm afraid. I have writting a tutorial on that topic for all engines we support on my big todo list. You want to check out the spSkeletonBounds and related functions in spine-c to get the current bounding boxes. You can also directly use the region and mesh attachment vertex data to perform collision detection.
Nate It's not cocos2dx, but spine-sfml shows how to use SkeletonBounds: spine-runtimes/main.cpp at master