1
0
KF2-Dev-Scripts/UDKBase/classes/UDKSkelControl_HoverboardVibration.uc

30 lines
817 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*
* Controller used by hoverboard for moving lower part in response to wheel movements.
*/
class UDKSkelControl_HoverboardVibration extends SkelControlSingleBone
hidecategories(Translation,Rotation)
native(Animation);
cpptext
{
// SkelControlWheel interface
virtual void TickSkelControl(FLOAT DeltaSeconds, USkeletalMeshComponent* SkelComp);
virtual void CalculateNewBoneTransforms(INT BoneIndex, USkeletalMeshComponent* SkelComp, TArray<FBoneAtom>& OutBoneTransforms);
}
var() float VibFrequency;
var() float VibSpeedAmpScale;
var() float VibTurnAmpScale;
var() float VibMaxAmplitude;
var float VibInput;
defaultproperties
{
bApplyTranslation=true
bAddTranslation=true
BoneTranslationSpace=BCS_BoneSpace
}