[Solved] A simple donut collision-shape for mouse collision

Status
Not open for further replies.

Uncle

Warcraft Moderator
Level 76
Joined
Aug 10, 2018
Messages
8,351
Hey gang, I'm struggling trying to get this to work. I need a model that will go where the Arcane Vault in the picture is, but with a collision shape like you see in the image (red hollow square). It's important that the center is empty since I want users to be able to click the Arcane Vault. Basically, I have two units where that Arcane Vault is, and at the moment both units are fighting for mouse control which I was hoping I could avoid by doing this. Thanks!

collision shape request.png

The model itself could just be a basic shape, I'm going to set the Transparency to 0% so it's not visible. I simply want users to be able to click between the Arcane Vault and the Unit that will use this new model without any conflicts.
 
Last edited:
Hi, unfortunately it doesn't work but I appreciate the effort! I believe the issue is related to the empty model, I think it'll only detect mouse collision where there is an actual model to select. I'll have to experiment with it some more.

Edit: That seems to be the case.
 
Last edited:
1694263422797.png
1694263556647.png

It's collision box is close to the ground and "around" the vault.
Testmap included.
stand alternate is invisible, so you can easy toggle visibility using animations.
 

Attachments

Status
Not open for further replies.
Back
Top