Difference between revisions of "Template:LSL Constants/llCreateCharacter"

From Second Life Wiki
Jump to navigation Jump to search
Line 22: Line 22:
|Set collision capsule length - cannot be less than two times the radius.
|Set collision capsule length - cannot be less than two times the radius.
|-
|-
|TRAVERSAL_TYPE_SLOW
|TRAVERSAL_TYPE
|
|
|
|
|-
|TRAVERSAL_TYPE_FAST
|
|
|
|-
|TRAVERSAL_TYPE_NONE
|TRAVERSAL_TYPE_NONE
|
|Valid options are: TRAVERSAL_TYPE_FAST, TRAVERSAL_TYPE_SLOW, and TRAVERSAL_TYPE_NONE. To use FAST or SLOW, you must specify a CHARACTER_TYPE
|
|Default if not specified.
|-
|CHARACTER_TYPE_A
|
|
|
|-
|CHARACTER_TYPE_B
|
|
|
|-
|-
|CHARACTER_TYPE_C
|CHARACTER_TYPE
|
|
|
|
|-
|CHARACTER_TYPE_NONE
|CHARACTER_TYPE_NONE
|
|Specifies which walkability coefficient will be used by this character. Options are CHARACTER_TYPE_A, CHARACTER_TYPE_B, CHARACTER_TYPE_C, CHARACTER_TYPE_D, and CHARACTER_TYPE_NONE
|
|Default if not specified.
|-
|-
|CHARACTER_MAX_ACCEL
|CHARACTER_MAX_ACCEL
|
|
|
|
|
|The character's maximum acceleration rate.
|-
|-
|CHARACTER_MAX_DECEL
|CHARACTER_MAX_DECEL
|
|
|
|The character's maximum deceleration rate.
|-
|CHARACTER_MAX_ANGULAR_SPEED
|
|
|
|
|The character's maximum angular speed about the Z axis
|-
|-
|CHARACTER_ANGULAR_SPEED
|CHARACTER_MAX_ANGULAR_ACCEL
|
|
|
|
|
|The character's maximum angular acceleration about the Z axis.
|-
|-
|CHARACTER_TURN_SPEED_MULTIPLIER
|CHARACTER_TURN_SPEED_MULTIPLIER

Revision as of 20:02, 16 February 2012

Option Value Default Description
CHARACTER_DESIRED_SPEED 1 Speed of pursuit in meters per second.
CHARACTER_RADIUS 2 Set collision capsule radius.
CHARACTER_LENGTH 3 Set collision capsule length - cannot be less than two times the radius.
TRAVERSAL_TYPE TRAVERSAL_TYPE_NONE Valid options are: TRAVERSAL_TYPE_FAST, TRAVERSAL_TYPE_SLOW, and TRAVERSAL_TYPE_NONE. To use FAST or SLOW, you must specify a CHARACTER_TYPE
CHARACTER_TYPE CHARACTER_TYPE_NONE Specifies which walkability coefficient will be used by this character. Options are CHARACTER_TYPE_A, CHARACTER_TYPE_B, CHARACTER_TYPE_C, CHARACTER_TYPE_D, and CHARACTER_TYPE_NONE
CHARACTER_MAX_ACCEL The character's maximum acceleration rate.
CHARACTER_MAX_DECEL The character's maximum deceleration rate.
CHARACTER_MAX_ANGULAR_SPEED The character's maximum angular speed about the Z axis
CHARACTER_MAX_ANGULAR_ACCEL The character's maximum angular acceleration about the Z axis.
CHARACTER_TURN_SPEED_MULTIPLIER When a character has to make certain kinds of turns, this value is multiplied by the character's desired speed and the character is slowed down to the new value before being allowed to turn. Note that this is not affected by the material the character is traversing...at least, not yet.