Product Chat / [SOLVED] Physics & Performance

Author
Message
Mad_Viking
4
Years of Service
User Offline
Joined: 4th Aug 2019
Location:
Posted: 10th Aug 2021 06:17
Would turning Physics off on all Entities which are beyond Players reach help with performance? Does drawing Collision boxes around objects affect processing in any noticeable way?

The author of this post has marked a post as an answer.

Go to answer
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th Aug 2021 10:12
This post has been marked by the post author as the answer.
yes because all physics will still need to be processed by the engine but performance is more impacted for non-static objects... will it magically solve all your fps problems? no, that will depend on the actual bottleneck of the game (and to some extent the PC being used).. it's far more likely you will have issues with draw calls for many objects before you have physics slow down but every saving you make in 1 area can allow the CPU to work on other areas
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 10th Aug 2021 18:16
All static physics-on entities will be included in the AI path finding system so if neither the player, AI characters nor dynamic physics entities can come into contact with them then turn off physics.

Animated entities are way more of a performance issue though, any background entities which happen to be animated will be bad for performance.
Been there, done that, got all the T-Shirts!
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 10th Aug 2021 19:55
Any object present on the map affects performance to a greater or lesser extent, depending on the role that the object plays throughout the game.
The list of things to consider is very long, I think that achieving the perfect distribution of performance throughout the game, is an art.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Mad_Viking
4
Years of Service
User Offline
Joined: 4th Aug 2019
Location:
Posted: 10th Aug 2021 23:36
Thank you,
I just finished re-reading Wolf's "Optimization for End Users" , I had forgotten how useful it is.

Thanks again for info!

Login to post a reply

Server time is: 2024-04-27 03:26:06
Your offset time is: 2024-04-27 03:26:06