A falling grenade projectile works on UTProjectile but not on UDKProjectile.
What needs to be done to make UDKProjectile fall?
UTProj_Grenade:
CustomGravityScaling is declared in UDKProjectile.Code:defaultproperties { ProjFlightTemplate=ParticleSystem'WP_RocketLauncher.Effects.P_WP_RocketLauncher_Smoke_Trail' ProjExplosionTemplate=ParticleSystem'WP_RocketLauncher.Effects.P_WP_RocketLauncher_RocketExplosion' ExplosionLightClass=class'UTGame.UTRocketExplosionLight' speed=700 MaxSpeed=1000.0 Damage=100.0 DamageRadius=200 MomentumTransfer=50000 MyDamageType=class'UTDmgType_Grenade' LifeSpan=0.0 ExplosionSound=SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_Impact_Cue' ExplosionDecal=MaterialInstanceTimeVarying'WP_RocketLauncher.Decals.MITV_WP_RocketLauncher_Impact_Decal01' DecalWidth=128.0 DecalHeight=128.0 bCollideWorld=true bBounce=true TossZ=+245.0 Physics=PHYS_Falling CheckRadius=36.0 ImpactSound=SoundCue'A_Weapon_RocketLauncher.Cue.A_Weapon_RL_GrenadeFloor_Cue' bNetTemporary=False bWaitForEffects=false CustomGravityScaling=0.5 }
But when i put those defaultproperties to a class extended from UDKProjectile, it will not move, even when i manually set its velocity ( Velocity = dir * Speed )
Probably UDKProjectile does not move with PHYS_Falling (or is it something else?)
Has anyone successfully made a falling projectile on UDKProjectile?
I would be thankful for help.



Reply With Quote


Bookmarks