123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|429|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> damn blitz3d bugs....

Wed, 15 Nov 2006, 18:46
magicman
There appears to be a bug in b3d that i have been battleing for a while and have finaly decided to say somthing about becasue it is causing me way to much wasted time when i could be getting somthing done. the problem is that if you have a 3d map and you are in one spot and you say... if keyhit(57) positionentity player,450,1,-78 or somthing of that nature, it dosnt take you to the spot you want, instead it takes you somewere completely diffrent! dose any one else have this problem or dose anyone know how to fix it? its really pissing be off!

-=-=-
Stuff... Yeah...
Wed, 15 Nov 2006, 19:54
bram32
Maybe the player has a parent ? Then positionentity player, 450,1,-78,1 should help. Have you read EntityX(player), EntityY(player), EntityZ(player) ? What does it say ?
Wed, 15 Nov 2006, 20:11
magicman
well, player dosnt have a parent, it is a parent. i think however that it has somthing to do with collisions, because when i am in a maplet building that isnt very tall and i say.. the player just gose to the top of the room were it would collide with the building. if that is the case, how would i fix that, would i have to do some sort of turn off the collision and then turn it back on thing?

-=-=-
Stuff... Yeah...
Thu, 16 Nov 2006, 06:09
HoboBen
I think I know what you mean. The solution I found was to do:

ClearCollisions()

then

UpdateWorld() before moving the entity, otherwise the collisions don't get around to clearing.

Afterwards, you'll have to re-enable/re-define these collisions.



-=-=-
blog | work | code | more code
Thu, 16 Nov 2006, 08:09
bram32
There is also ResetEntity, you can use it after moving a mesh to avoid collisions.
Thu, 16 Nov 2006, 15:22
magicman
ah, ok thank you very much hobo and bram, i have fixed it and now i can code in peace!

-=-=-
Stuff... Yeah...