PositionEntity mayhem

Blitz3D Forums/Blitz3D Programming/PositionEntity mayhem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi!

I'm think I'm finally going nuts.
I have a game with a character and a level (Mesh).
They do collide with eachother.
When the character falls below a certain point (water level), the player dies, and it is being resetted.

p\x = 23
p\y = 18
p\z = -144
PositionEntity p\entity, p\x, p\y, p\z 


Nothing scary huh? The gravity fall speed etc is nicely resetted to 0 when the player dies.

Now what happens: Sometimes the player is placed on the right spot, but on other occasions, it is placed NEAR the exact spot.
E.g: right above the water. This way he dies again immidiately. Or under an object. The offset is in X,Y or/and Z.

Now I had the same problem in another game I made.
PositionEntity IS positionEntity right?

This can't be happening :D