All Classes Namespaces Functions Variables Enumerations Properties Pages
Classes | Public Member Functions | Public Attributes | Properties | List of all members
InteractionObject Class Reference

Object than the InteractionSystem can interact with. More...

Inherits MonoBehaviour.

Collaboration diagram for InteractionObject:
Collaboration graph
[legend]

Classes

class  AnimatorEvent
 Calls an animation on an interaction event. More...
 
class  InteractionEvent
 Predefined interaction events for pausing, picking up, triggering animations and sending messages. More...
 
class  Message
 Definition of a message sent by an InteractionEvent. More...
 
class  Multiplier
 Multiplies a weight curve and uses the result for another FBBIK channel. (to reduce the amount of work with AnimationCurves) More...
 
class  WeightCurve
 A Weight curve for various FBBIK channels. More...
 

Public Member Functions

void Initiate ()
 Call if you have changed the curves in play mode or added/removed InteractionTargets. More...
 

Public Attributes

Transform otherLookAtTarget
 If the Interaction System has a 'Look At' LookAtIK component assigned, will use it to make the character look at the specified Transform. If unassigned, will look at this GameObject. More...
 
Transform otherTargetsRoot
 The root Transform of the InteractionTargets. If null, will use this GameObject. GetComponentsInChildren<InteractionTarget>() will be used at initiation to find all InteractionTargets associated with this InteractionObject. More...
 
Transform positionOffsetSpace
 If assigned, all PositionOffset channels will be applied in the rotation space of this Transform. If not, they will be in the rotation space of the character. More...
 
WeightCurve[] weightCurves
 The weight curves for the interaction. More...
 
Multiplier[] multipliers
 The weight curve multipliers for the interaction. More...
 
InteractionEvent[] events
 The interaction events. More...
 

Properties

float length [get, set]
 Gets the length of the interaction (the longest curve). More...
 
InteractionSystem lastUsedInteractionSystem [get, set]
 The last InteractionSystem that started an interaction with this InteractionObject. More...
 
Transform lookAtTarget [get]
 Gets the look at target (returns otherLookAtTarget if not null). More...
 

Detailed Description

Object than the InteractionSystem can interact with.