Does high fidelity have a collision detection command?


#1

Just curious. In secondlife you have something collision detection in LSL. SO when you hiot soemthing it can do something.

Now i got curious if High Fidelity have something similair. it;s very usefull.


#2

Here is a simple example of an Avatar entering a trigger zone on an Entity: https://readme.highfidelity.com/docs/avatar-interactions-with-entities

You can also assign sound to a collision through the entity editor: https://readme.highfidelity.com/docs/adding-collision-sounds-to-entities


#3

It depends who is the ‘you’. There are entity methods to determine if an entity has collided (or specifically if something enters the bounding box). I cannot find a method that permits an avatar associated script to catch collision events.