Liberi
An exergame built for kids with CP!
AvatarPointer Class Reference

Avatar pointer controller script. More...

Inherits MonoBehaviour.

Public Attributes

Vector3 PivotOffset = new Vector3(0f, 0f, -.01f)
 The offset from the avatar's center to the pointer pivot. More...
 
float PointerDistance = 1.5f
 The distance from the pointer pivot to the pointer. More...
 
float TrackingStrength = 50f
 The strength with which the pointer moves toward the desired aim direction. More...
 
float CameramanInfluenceX
 Optional influence of this pointer on the cameraman in the X direction. More...
 
float CameramanInfluenceY
 Optional influence of this pointer on the cameraman in the Y direction. More...
 
bool HideOnIdle
 

Properties

Vector3 Aim [get]
 Gets the current aim of More...
 

Detailed Description

Avatar pointer controller script.

Definition at line 8 of file AvatarPointer.cs.

Member Data Documentation

float AvatarPointer.CameramanInfluenceX

Optional influence of this pointer on the cameraman in the X direction.

Definition at line 33 of file AvatarPointer.cs.

float AvatarPointer.CameramanInfluenceY

Optional influence of this pointer on the cameraman in the Y direction.

Definition at line 37 of file AvatarPointer.cs.

Vector3 AvatarPointer.PivotOffset = new Vector3(0f, 0f, -.01f)

The offset from the avatar's center to the pointer pivot.

Definition at line 21 of file AvatarPointer.cs.

float AvatarPointer.PointerDistance = 1.5f

The distance from the pointer pivot to the pointer.

Definition at line 25 of file AvatarPointer.cs.

float AvatarPointer.TrackingStrength = 50f

The strength with which the pointer moves toward the desired aim direction.

Definition at line 29 of file AvatarPointer.cs.

Property Documentation

Vector3 AvatarPointer.Aim
get

Gets the current aim of

Definition at line 14 of file AvatarPointer.cs.


The documentation for this class was generated from the following file: