Feel  4.3
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMSpringRotationAround Class Reference
Inheritance diagram for MoreMountains.Feedbacks.MMSpringRotationAround:
MoreMountains.Feedbacks.MMSpringFloatComponent< Transform >

Public Attributes

Transform RotationCenter
 
Vector3 RotationAxis = Vector3.up
 
bool FaceRotationCenter = true
 
- Public Attributes inherited from MoreMountains.Feedbacks.MMSpringFloatComponent< Transform >
Target
 
TimeScaleModes TimeScaleMode
 whether this spring should run on scaled time (and be impacted by time scale changes) or unscaled time (and not be impacted by time scale changes) More...
 
MMChannelModes ChannelMode
 
int Channel
 the channel to listen to - has to match the one on the feedback More...
 
MMChannel MMChannelDefinition
 
MMSpringFloat FloatSpring
 
Vector2 MoveToRandomValue
 the min (x) and max (y) values between which a random target value will be picked when calling MoveToRandom More...
 
Vector2 BumpAmountRandomValue
 the min (x) and max (y) values between which a random bump value will be picked when calling BumpRandom More...
 
float TestMoveToValue
 the value to move this spring to when interacting with any of the MoveTo debug buttons in its inspector More...
 
bool MoveToToolbar
 
float TestBumpAmount
 the amount by which to bump this spring when interacting with the Bump debug button in its inspector More...
 
bool BumpToToolbar
 
bool OtherControlsToToolbar
 
override bool LowVelocity
 
float DeltaTime
 

Protected Member Functions

override void Initialization ()
 
- Protected Member Functions inherited from MoreMountains.Feedbacks.MMSpringFloatComponent< Transform >
override void UpdateSpringValue ()
 Updates the spring's target value More...
 
override void Initialization ()
 Performs initialization for this spring More...
 
virtual void ApplyValue (float newValue)
 
override void GrabCurrentValue ()
 Grabs the current value on the spring's target More...
 
override void Awake ()
 On awake we self disable More...
 
void OnDestroy ()
 
override void TestMoveTo ()
 
override void TestMoveToAdditive ()
 
override void TestMoveToSubtractive ()
 
override void TestMoveToRandom ()
 
override void TestMoveToInstant ()
 
override void TestBump ()
 
override void TestBumpRandom ()
 

Protected Attributes

float _currentAngle
 
Vector3 _initialPosition
 
Quaternion _initialRotation
 

Properties

override float TargetFloat [get, set]
 
- Properties inherited from MoreMountains.Feedbacks.MMSpringFloatComponent< Transform >
virtual float TargetFloat [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from MoreMountains.Feedbacks.MMSpringFloatComponent< Transform >
virtual void MoveTo (float newValue)
 
virtual void MoveToAdditive (float newValue)
 
virtual void MoveToSubtractive (float newValue)
 
virtual void MoveToRandom ()
 
virtual void MoveToRandom (float min, float max)
 
virtual void MoveToInstant (float newValue)
 
virtual void Bump (float bumpAmount)
 
virtual void BumpRandom ()
 
virtual void BumpRandom (float min, float max)
 
override void Stop ()
 Stops all value movement on this spring More...
 
override void RestoreInitialValue ()
 Restores this spring's initial value More...
 
override void ResetInitialValue ()
 Sets the current value of this spring as its new initial value, overriding the previous one More...
 
override void Finish ()
 Moves this spring to its destination and disables it More...
 
void OnMMEvent (MMSpringFloatEvent springEvent)
 

Member Function Documentation

◆ Initialization()

override void MoreMountains.Feedbacks.MMSpringRotationAround.Initialization ( )
protected

Member Data Documentation

◆ _currentAngle

float MoreMountains.Feedbacks.MMSpringRotationAround._currentAngle
protected

◆ _initialPosition

Vector3 MoreMountains.Feedbacks.MMSpringRotationAround._initialPosition
protected

◆ _initialRotation

Quaternion MoreMountains.Feedbacks.MMSpringRotationAround._initialRotation
protected

◆ FaceRotationCenter

bool MoreMountains.Feedbacks.MMSpringRotationAround.FaceRotationCenter = true

◆ RotationAxis

Vector3 MoreMountains.Feedbacks.MMSpringRotationAround.RotationAxis = Vector3.up

◆ RotationCenter

Transform MoreMountains.Feedbacks.MMSpringRotationAround.RotationCenter

Property Documentation

◆ TargetFloat

override float MoreMountains.Feedbacks.MMSpringRotationAround.TargetFloat
getset

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