Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CubikBall1 extends KActorSpawnable
- placeable;
- var ParticleSystemComponent CubikBallEffect;
- simulated event PostBeginPlay()
- {
- local RB_ConstraintActor TwoDConstraint;
- super.PostBeginPlay();
- TwoDConstraint = Spawn(class'RB_ConstraintActorSpawnable', self, '', Location, rot(0,0,0));
- TwoDConstraint.ConstraintSetup.LinearYSetup.bLimited = 0;
- TwoDConstraint.ConstraintSetup.LinearZSetup.bLimited = 0;
- TwoDConstraint.ConstraintSetup.bSwingLimited = true;
- TwoDConstraint.InitConstraint( self, None );
- }
- DefaultProperties
- {
- Begin Object Name=StaticMeshComponent0
- StaticMesh=StaticMesh'CubikPackage.MeshCubikBall1'
- bNotifyRigidBodyCollision=true
- Hiddengame=false
- ScriptRigidBodyCollisionThreshold=0.001
- LightingChannels=(Dynamic=TRUE)
- DepthPriorityGroup=SDPG_World
- End Object
- Begin Object Class=ParticleSystemComponent Name=MyEffectComponent
- Template=ParticleSystem'CubikPackage.CubikBallTrail'
- bAutoActivate=true
- End Object
- CubikBallEffect=MyEffectComponent
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement