PixelBrothers

Hi friends, I'm trying to build some traps with Spine for Unity :
2DCollider.jpg


The problem is the 2Dcollider (for damage) attached to Spine animated object not follwing it :( ...a sollution for this issue ? Thanks in advance !

Cheers,
User avatar
PixelBrothers
Posts: 31

StringKiller

I think this should be posted in the "runtimes" forum.
I believe you should script the collider to always be attatched to the bone of the moving object in spine and inherit its rotation, not to the whole object
StringKiller

Kickstarter Backer
Posts: 82

Mitch

Please show us your Hierarchy (fully expanded). Also what method did you use to attach the 2D collider to the trap that failed?
User avatar
Mitch

Mitch
Posts: 965

PixelBrothers

Hi Mitch, here you see my project screenshot with the spine object:
spine_screen.jpg

Any idea how to get this work ?? :bang:
User avatar
PixelBrothers
Posts: 31

Mitch



Still processing, but here ya go.
User avatar
Mitch

Mitch
Posts: 965

PixelBrothers

Thanks a lot Mitch, you are my HERO :handshake: ...great tutorial, great support :clap: I think this example will be very useful for other people too :rock:
User avatar
PixelBrothers
Posts: 31


Return to Editor