[This is preliminary documentation and is subject to change.]
Triggered when an object or avatar forcefully collides with our
agent
Namespace:
OpenMetaverseAssembly: OpenMetaverse (in OpenMetaverse.dll) Version: 1.0.0.20057
Syntax
| C# | Visual Basic | Visual C++ |
public delegate void MeanCollisionCallback( MeanCollisionType type, UUID perp, UUID victim, float magnitude, DateTime time )
Public Delegate Sub MeanCollisionCallback ( _ type As MeanCollisionType, _ perp As UUID, _ victim As UUID, _ magnitude As Single, _ time As DateTime _ )
public delegate void MeanCollisionCallback( MeanCollisionType type, UUID perp, UUID victim, float magnitude, DateTime time )
Parameters
- type
- MeanCollisionType
Collision type
- perp
- UUID
Colliding object or avatar ID
- victim
- UUID
Victim ID, should be our own AgentID
- magnitude
- Single
Velocity or total force of the collision
- time
- DateTime
Time the collision occurred
