Announcement

Collapse
No announcement yet.

Stop custom projectile from falling to earth

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Stop custom projectile from falling to earth

    Code:
    function Init(vector Direction)
    {
    	SetRotation(rotator(Direction));
    	Velocity = Speed * Direction;
    	Velocity.X = 0;
    	TossZ = TossZ + (FRand() * TossZ / 2.0) - (TossZ / 4.0);
    	Acceleration = AccelRate * Normal(Velocity);
    }
    My projectile spawns, and zips off but always begins to drop
    when i change it from PHYS_Falling, it just stays where its spawned...

    What am I missing ?

    #2
    PHYS_Projectile is what you're looking for, not falling

    Comment

    Working...
    X