|
Post by sbdjazz on Feb 25, 2017 19:53:54 GMT
I saw a function in a tutorial about the accuracy of physics simulation. How do I use it? Does it work in just the compiled game or also the editor.
|
|
|
Post by GH Games on Feb 25, 2017 20:47:37 GMT
I use this for graphics in my games, it helps a lot on low systems.
Example for Low Quality:
void Main() { iSimulationQualitySet(20); }
Example for High Quality/Normal Quality:
void Main(){ iSimulationQualitySet(0); }
You want to use this command in line with other Quality related ones for best results.
|
|
|
Post by sbdjazz on Feb 26, 2017 4:26:49 GMT
Thanks bro. I got it. And is there a particular range of the quality value or its like (1 to infinite).
|
|
|
Post by NicusorN5 on Feb 26, 2017 7:03:01 GMT
I never used this function , also 3DRad normal physics accuracy is pretty bad at big speeds xD
|
|
|
Post by Power Supersport on Feb 26, 2017 8:56:18 GMT
I think this function does not work with the new PhysX system... I think it worked only with the old ODE physics system (v6.5) or older...
|
|
|
Post by GH Games on Feb 26, 2017 9:54:45 GMT
I hav enever used anything other than 20. It says that higher than 20 will reduce the quality I think. I wouldn't go over 50.
|
|
|
Post by indiedev on Mar 8, 2017 4:06:11 GMT
improving performance while reducing collision detection seems not very useful for optimizing fast racing games, i think it's more suited to slow games with lots of moving objects. I never used this function , also 3DRad normal physics accuracy is pretty bad at big speeds xD you can use -1 to increase accuracy but reduces performance alot.
|
|