Here's my updated code: function Player::GrabZone(%obj,%vector)
{
if(%obj.isHanging)
{
%obj.ZoneKill();
%obj.isZoneKilled=0;
%pos = vectorAdd(%obj.getHackPosition(),"0 0 -1");
%pz = new PhysicalZone()
{
velocityMod = "0.0";
gravityMod = "0.0";
extraDrag = "0.0";
isWater = "0";
density = "200";
appliedForce = %vector;
position = %pos;
};
missionCleanup.add(%pz);
%pz.setScale("1 1 5");
// talk("new physical zone works");
%obj.pz = %pz;
}
}I think the problem is that the player density needs to be the same as the zone density. I do not, however, know how to do this.