30 lines
817 B
Ucode
30 lines
817 B
Ucode
|
/**
|
||
|
* 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
|
||
|
}
|