My player needs rest so I provided a bed. Interact with bed, you get mounted in sitting pose and pops a dialog to get up.
When you click the get up button it calls this:
function serverCmdDoneBed(%client)
{
%client.player.bedrep = 0;
%client.player.unmount();
%bed = %client.player.bed;
%client.player.bed = 0;
%spawn = "bedSpawn"@%bed;
%client.player.setTransform(%spawn.getTransform());
%client.player.isMounted = false;
}
I have a player spawn point called bedspawn1,2,3 etc all is well at this point.
If the player sits on the bed again and gets up, they fall through the floor. Can be repeated and the spawn point is way above the floor.
I have this same issue with a vehicle if I get in then out then in and back out I fall through the land.
It's almost like the engine loses track of position or collision is lagging a update or it's not cleared. Been looking in the engine but can't see where it happens.
anyone encounter this issue ?