Hello guys, i make some codes for my "game" that include new actor code. Here is my starting code:
Problem is that I'm not very experienced with editor (working on it). My Skeletal Mesh doesn't collide. I checked BlockAll but it still doesn't work.
Code:
class SCOW_Actor extends Actor placeable; DefaultProperties { Begin Object Class=DynamicLightEnvironmentComponent Name=MyLightEnvironment bSynthesizeSHLight=true End Object Components.Add(MyLightEnvironment) Begin Object Class=SkeletalMeshComponent Name=MyMesh Translation=(X=0,Y=0,Z=50) CastShadow=true bCastDynamicShadow=true bOwnerNoSee=false LightEnvironment=MyLightEnvironment BlockRigidBody=true CollideActors=true BlockActors=true BlockZeroExtent=true SkeletalMesh=SkeletalMesh'CH_LIAM_Cathode.Mesh.SK_CH_LIAM_Cathode' End Object Begin Object Class=CylinderComponent Name=CollisionCylinder CollisionRadius=10 CollisionHeight=10 End Object CollisionComponent=CollisionCylinder Components.Add(MyMesh) }
Comment