Difference between revisions of "LSL touch"

From Second Life Wiki
Jump to navigation Jump to search
Line 9: Line 9:
* Touch events will not register if you are in focus(ctrl+1), edit(ctrl+3), create(ctrl+4) or land(ctrl+5) mode.
* Touch events will not register if you are in focus(ctrl+1), edit(ctrl+3), create(ctrl+4) or land(ctrl+5) mode.
* Alpha texturing on an object does not affect whether it can be touched. Objects with fully transparent textures will still register clicks.
* Alpha texturing on an object does not affect whether it can be touched. Objects with fully transparent textures will still register clicks.
* You can change the left-click behavior of an object on the general tab of the edit tools, but this only works if there is a touch script in the object.
* Touch/grab (default)
Sit on object
Buy object
Pay object
Open works only for objects that you can modify
touch allows you to move objects.


=== Test scripts ===
=== Test scripts ===

Revision as of 17:08, 4 January 2007

Feature Design Document

(none)

Functional Spec

  • An object can be designated a touchable object by adding a script that has a touch* event in it, such as the default script does.
  • You touch an object by left clicking it while in move mode (ctrl + 2) or in normal mode (ie. if you hit escape, or by right clicking the object, then selecting "touch" from the pie menu.
  • Your cursor should turn into a hand icon when you hover it over an object that has a touch* event script on it.
  • Touch events will not register if you are in focus(ctrl+1), edit(ctrl+3), create(ctrl+4) or land(ctrl+5) mode.
  • Alpha texturing on an object does not affect whether it can be touched. Objects with fully transparent textures will still register clicks.
  • You can change the left-click behavior of an object on the general tab of the edit tools, but this only works if there is a touch script in the object.
  • Touch/grab (default)

Sit on object Buy object Pay object Open works only for objects that you can modify

touch allows you to move objects.


Test scripts

(none)

Discussion for future improvements

(none)

Relationship to other features

List of features that need to be tested when this feature changes, and why.

(none)

User Guides

touch event on LSLWiki.com

touch_start event on LSLWiki.com

touch_end event on LSLWiki.com