Raised This Month: $ Target: $400
 0% 

Model always in 15 units after eyes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-08-2008 , 03:35   Re: Model always in 15 units after eyes
Reply With Quote #10

Quote:
Originally Posted by danielkza View Post
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
__________________
draft is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode