Raised This Month: $12 Target: $400
 3% 

Solved [ H3LP ] Entity weird movement


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-21-2018 , 21:52   [ H3LP ] Entity weird movement
Reply With Quote #1

Hello, I've tried to move my entity to forward while player hold key IN_FORWARD. It's working, but kinda weird. If fps is low (set fps_max 10, e.g), it moves normally, Now if the fps is high (from 40 to ++), the entity looks stay with lag, looks like before of it moves to forward, it "stucks" and after apply the velocity. I've tested with low/high think rate and other movetypes but still no fix.

Spoiler
__________________









Last edited by CrazY.; 09-22-2018 at 10:30. Reason: Added spoiler; Edited to fakemeta;
CrazY. is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 09-22-2018 , 08:21   Re: [ H3LP ] Entity weird movement
Reply With Quote #2

Use
fps_max 10
fps_max 30
fps_max 100

and tell me how much each of them 'lagged'.
__________________
edon1337 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-22-2018 , 10:29   Re: [ H3LP ] Entity weird movement
Reply With Quote #3

The problem was not directly related to this entity, but yes with the camera entity. Thanks anyway.
__________________








CrazY. is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 09-22-2018 , 10:39   Re: [ H3LP ] Entity weird movement
Reply With Quote #4

Quote:
Originally Posted by CrazY. View Post
The problem was not directly related to this entity, but yes with the camera entity. Thanks anyway.
I thought that would be the case, my suspicion was:

- 10 Frames, low frame-rate, you don't really notice the camera lag as it refreshes in a low rate.
- 100 Frames, high frame-rate, more definitive, you see everything that happens while it's walking.

Might be wrong.
__________________

Last edited by edon1337; 09-22-2018 at 10:40.
edon1337 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-22-2018 , 12:01   Re: [ H3LP ] Entity weird movement
Reply With Quote #5

I believe your guess might be right.
__________________








CrazY. is offline
Reply


Thread Tools
Display Modes

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 07:30.


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