Good mod. Seems like it reposition the player to the same position as before? and plus the heading position? Very interesting. First time to see Witcher codes.
exec function p() { var playerheading : float; var playerpos: Vector; playerheading = thePlayer.GetHeading(); playerpos = thePlayer.GetWorldPosition(); thePlayer.Teleport(playerpos + VecFromHeading(playerheading)); }
Yes, simply as that actually reposition is like 0.5 meters just to avoid the frustrating stuck or to go across barriers . Hope at you found it useful in a way
6 comments
exec function p()
{
var playerheading : float;
var playerpos: Vector;
playerheading = thePlayer.GetHeading();
playerpos = thePlayer.GetWorldPosition();
thePlayer.Teleport(playerpos + VecFromHeading(playerheading));
}
Hope at you found it useful in a way