iterami/Docs.htm/common HTM Projects/webgl.js/webgl_character_init(args)
Arg Default Type
automove false boolean
camera-lock true boolean
camera-rotate-x 0 number
camera-rotate-y 0 number
camera-rotate-z 0 number
camera-zoom 50 number
change-rotate-x 0 number
change-rotate-y 0 number
change-rotate-z 0 number
change-translate-x 0 number
change-translate-y 0 number
change-translate-z 0 number
collide-range-xz 2 number
collide-range-y 3 number
collides true boolean
controls '' string
entities [] array of objects
gravity 0 number
id webgl_character_id string ID
jump-height 1 number
level -2 number
level-xp 0 number
life 1 number
life-max 1 number
lives -1 number
lock {} object
path-direction 1 number
path-end '' string
path-id '' string ID
path-point 0 number
randomize false boolean
reticle '#fff' boolean false or string
rotate-x 0 number
rotate-y 0 number
rotate-z 0 number
speed 1 number
translate-x 0 number
translate-y 0 number
translate-z 0 number
turn-speed 5 number
vehicle false boolean false or string ID
vehicle-stats false boolean false or object