1
0
KF2-Dev-Scripts/UDKBase/classes/UDKSkelControl_HoverboardSuspension.uc
2020-12-13 18:01:13 +03:00

39 lines
856 B
Ucode

/**
* Controller used by hoverboard for moving lower part in response to wheel movements.
*
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class UDKSkelControl_HoverboardSuspension extends SkelControlSingleBone
hidecategories(Translation,Rotation)
native(Animation);
cpptext
{
// SkelControl interface
virtual void TickSkelControl(FLOAT DeltaSeconds, USkeletalMeshComponent* SkelComp);
}
var() float TransIgnore;
var() float TransScale;
var() float TransOffset;
var() float MaxTrans;
var() float MinTrans;
var() float RotScale;
var() float MaxRot;
var() float MaxRotRate;
var float CurrentRot;
defaultproperties
{
bApplyTranslation=true
bAddTranslation=true
BoneTranslationSpace=BCS_BoneSpace
bApplyRotation=true
bAddRotation=true
BoneRotationSpace=BCS_BoneSpace
MaxRotRate=0.5
}