Code: Select all
if (Other.Physics == PHYS_Falling)
Other.Velocity.Z += 600;
Code: Select all
if (Other.Physics == PHYS_Falling)
Other.Velocity.Z += 600;
Code: Select all
Pawn(Other).AddVelocity(600*vect(0,0,1));
Code: Select all
function AddVelocity( vector NewVelocity)
{
if (Physics == PHYS_Walking)
SetPhysics(PHYS_Falling);
if ( (Velocity.Z > 380) && (NewVelocity.Z > 0) )
NewVelocity.Z *= 0.5;
Velocity += NewVelocity;
}
Not that I am aware of.JackGriffin wrote:There is something about the decorations collision that's probably native and it's just goofy about adding z velocity.
Code: Select all
class MH2Table1 extends StudMetal;
defaultproperties
{
DrawType=DT_Mesh
Mesh=Mesh'PBStage'
bStatic=False
Physics=PHYS_Rotating
Velocity=(X=0.00,Y=0.00,Z=5000.00),
DrawScale=1.0
bFixedRotationDir=True
RotationRate=(Pitch=0,Yaw=5000,Roll=0),
CollisionRadius=30.00000
CollisionHeight=4.00000
bCollideWhenPlacing=True
bCollideActors=True
bCollideWorld=True
bBlockActors=True
bBlockPlayers=True
}