An emotional state, based on the PAD model: https://en.wikipedia.org/wiki/PAD_emotional_state_model.
More...
|
void | Modify (float happinessChange, float pleasureChange, float arousalChange, float dominanceChange) |
| Modifies the PAD values.
|
|
Temperament | GetTemperament () |
| Gets the actor's temperament based on current PAD values.
|
|
|
float | happiness = 0 |
| The sum of all pleasure values over the whole lifetime.
|
|
float | pleasure = 0 |
| How happy or sad the actor currently is.
|
|
float | arousal = 0 |
| How worked up/excited the actor currently is.
|
|
float | dominance = 0 |
| How dominant or submissive the actor feels in the current situation.
|
|
float | excitabilityThreshold = 20f |
| The threshold above which the PAD values above affect temperament.
|
|
◆ GetTemperament()
Temperament PixelCrushers.LoveHate.Pad.GetTemperament |
( |
| ) |
|
|
inline |
Gets the actor's temperament based on current PAD values.
- Returns
- The temperament.
◆ Modify()
void PixelCrushers.LoveHate.Pad.Modify |
( |
float |
happinessChange, |
|
|
float |
pleasureChange, |
|
|
float |
arousalChange, |
|
|
float |
dominanceChange |
|
) |
| |
|
inline |
Modifies the PAD values.
- Parameters
-
happinessChange | Happiness change. |
pleasureChange | Pleasure change. |
arousalChange | Arousal change. |
dominanceChange | Dominance change. |
◆ arousal
float PixelCrushers.LoveHate.Pad.arousal = 0 |
How worked up/excited the actor currently is.
◆ dominance
float PixelCrushers.LoveHate.Pad.dominance = 0 |
How dominant or submissive the actor feels in the current situation.
◆ excitabilityThreshold
float PixelCrushers.LoveHate.Pad.excitabilityThreshold = 20f |
The threshold above which the PAD values above affect temperament.
◆ happiness
float PixelCrushers.LoveHate.Pad.happiness = 0 |
The sum of all pleasure values over the whole lifetime.
◆ pleasure
float PixelCrushers.LoveHate.Pad.pleasure = 0 |
How happy or sad the actor currently is.
The documentation for this class was generated from the following file:
- C:/Dev/LoveHate/Dev/Source/Assets/Plugins/Pixel Crushers/LoveHate/Scripts/Core/Faction Members/Pad.cs