My project has an update routine that is called at regular cycles to make sure entities are synchronised in the exact same place in the world (as movement code alone is not 100% accurately transmitted). Unfortunately the walls, ceilings, and other objects get in the way so the entities can't move through them to get into position, even when I try switching on and off the collision code:
Can anyone help me? :-\
;--------------------------------- ;| Update Position & Orientation | ;--------------------------------- Function UpdatePosition( u.User ) ClearCollisions PositionEntity u\Entity,u\Pos_X,u\Pos_Y,u\Pos_Z,True RotateEntity u\Entity,u\Rot_X,u\Rot_Y,u\Rot_Z,True Collisions Type_User,Type_Terrain,2,3 Collisions Type_User,Type_Building,2,3 Collisions Type_Target,Type_User,2,3 Collisions Type_Target,Type_Building,2,3 End Function
Can anyone help me? :-\