Im getting a weird error upon compiling this code
It says Error, Missing Pitch component of rotation (on the line where I SetRotation)Code:class BaconActor extends Actor placeable; var() int Yaw, Pitch, Roll; function PostBeginPlay() { SetRotation(Rotation + rot(Roll,Pitch,Yaw)) } defaultproperties { Begin Object Class=SpriteComponent Name=Sprite Sprite=Texture2D'EditorResources.S_NavP' //HiddenGame=True End Object Components.Add(Sprite) Begin Object Class=ArrowComponent Name=Arrow End Object Components.Add(Arrow) }
Maybe it's just because I'm tired but can someone tell me what's going on please



Reply With Quote



Bookmarks