Skip to content

ObjectPathfindingType

Constants in the ObjectPathfindingType enum.

All constant groups

At a glance, from the LSL definitions
integer OPT_OTHER = -1;  // Returned for attachments, Linden trees, and grassinteger OPT_LEGACY_LINKSET = 0;  // Returned for movable obstacles, movable phantoms, physical, and volumedetect objectsinteger OPT_AVATAR = 1;  // Returned for avatarsinteger OPT_CHARACTER = 2;  // Returned for pathfinding charactersinteger OPT_WALKABLE = 3;  // Returned for walkable objectsinteger OPT_STATIC_OBSTACLE = 4;  // Returned for static obstaclesinteger OPT_MATERIAL_VOLUME = 5;  // Returned for material volumesinteger OPT_EXCLUSION_VOLUME = 6;  // Returned for exclusion volumes

Constants

ConstantTypeValueDescription
OPT_AVATARinteger1Returned for avatars.
OPT_CHARACTERinteger2Returned for pathfinding characters.
OPT_EXCLUSION_VOLUMEinteger6Returned for exclusion volumes.
OPT_LEGACY_LINKSETinteger0Returned for movable obstacles, movable phantoms, physical, and volumedetect objects.
OPT_MATERIAL_VOLUMEinteger5Returned for material volumes.
OPT_OTHERinteger-1Returned for attachments, Linden trees, and grass.
OPT_STATIC_OBSTACLEinteger4Returned for static obstacles.
OPT_WALKABLEinteger3Returned for walkable objects.