Quote:
Originally Posted by danielkza
I never tested it and i have no time to write the code,but i suppose using and angle vector from the player's eye position will do the job.
|
The problem is not creating entity but in moving it correctly. Because using pre/postthink of player doesnt change origin of entity as fast as player moves and he can look through entity while he moves faster than frame updates. At every frame player moves about 4-5 units and we need to update at every 1 unit to disallow moving through entity
__________________