Grab Rotate Script


GrabRotateScript is component of the HandleObject-game object in KinectInteractionDemo2-scene. It uses the detected hand-interactions to rotate the HandleObject around its center. This may be useful, to look at all sides of a model.The hand interactions are detected by the InteractionManager - component of KinectController, as well.



Property:
Description:

Selected Object Material

Material used to outline the object when selected.

Smooth Factor

Smooth factor used for object rotation.

Screen Camera

Camera used for screen ray-casting. This is usually the main camera.

Info Gui Text

GUI-Text used to display information messages.

Interaction Manager

Interaction manager instance, used to detect hand interactions. If left empty, it will be the first interaction manager found in the scene.