Ok, i thought this was strange perhaps someone can clear this up for me.
I have a player, and a projectile.. I shoot the projectile from the player position, it moves until it hits somthing.. when it does the player is warped to the collision area.
The strange thing is that the player must be in a open line of sight to the area that I want to position him at. otherwise posisitonentity does nothing..
It would seem as though it is checking collisions between players current position and the new destination via PositionEntity. I did not think that positioinentity was supposed to use collision detection.
It would seem that I was wrong it that, but i tried to remove the collision typwe from the player then reposition then reapply the collision type.. but far to often he falls through the level with that method..
Any advice here?
I have a player, and a projectile.. I shoot the projectile from the player position, it moves until it hits somthing.. when it does the player is warped to the collision area.
The strange thing is that the player must be in a open line of sight to the area that I want to position him at. otherwise posisitonentity does nothing..
It would seem as though it is checking collisions between players current position and the new destination via PositionEntity. I did not think that positioinentity was supposed to use collision detection.
It would seem that I was wrong it that, but i tried to remove the collision typwe from the player then reposition then reapply the collision type.. but far to often he falls through the level with that method..
Any advice here?