How to detect hit/touch on meshes, or physics ball

Again couldn’t find any documentation on how to do this.

What I’m looking for is something like OnTriggerEnter, or OnCollisionEnter in Unity. Or basically any touched/hit event, that works on everything, not only players.

Also if you could link a good API for verse to me, it would be much appreciated. The documentation provided here doesn’t expose any events or properties for things.

There’s nothing like this at the moment.

The full API is here Verse API Reference

The thing is the scope of the released Verse and Verse API is very limited and a lot of stuff that you would expect to have is not there yet. We just have to wait.

2 Likes

I see, it’s just such a basic and essential thing that I thought it has to be there, and Im missing something.

Thanks for letting me know.

You can place invisible Triggers to function kike a bounding box and there’s also mutator zones. That will give you OnTouch. As for damage recognition, you can use props with a transparent material applied.

I mentioned in the original post that I want something that works on everything, not only players. Mutator zones work only on players.
As for triggers, if you mean the trigger device, it doesn’t have OnTouch event.

I had the theory of using the Prop Mover’s “Activate other triggers as it moves” as a way to cause a collision event, feel free to try that out - it’s on the house :stuck_out_tongue: Involves blocking out all “collidables” with Triggers but eh, whaddayagunnado?

1 Like