Zb6TJnOvBZU
This is the code:
Code: Select all
class CollisionZone extends ZoneInfo;
event ActorEntered(Actor other) {
other.HitWall(Normal(other.Location - Location), self);
}
defaultproperties
{
bCollideActors=true
bCollideWorld=true
bBlockActors=true
bBlockPlayers=true
}
I tried putting "other.SetLocation(other.OldLocation)", but that completly blocks the player, like even in mid air.
Other things I tried are: - Calling other.Bump(self) - and other.Touch(self) - HitActor = Spawn(a blockall with bStatic set to False), still nothing.
Is what I'm trying to achieve even possible?