Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi fluid collision
#6
(08-03-2021, 07:05 PM)JskT01 Wrote: I already saw my error when using VR the fixed time is updated when doing play to 0.0111 and it starts to call twice, but if I reduce maximium allowed timestep to 0.0111 so that it is called once, the animations and everything is altered, I can't find one practical solution

Reducing the maximum allowed timestep to the same value as the fixed timestep will only allow Unity to perform one physics step per frame, at most. This can result in slow-motion physics if your frames take longer than 11 ms to render.

There's no sure-fire way to fix this, except improving performance. Which takes us back to the original issue: there's no way iterating through all particles once per frame (what your script does) will take 38 ms/frame.

Can you share a screenshot of your profiler?
Reply


Messages In This Thread
Obi fluid collision - by JskT01 - 06-03-2021, 02:51 AM
RE: Obi fluid collision - by josemendez - 06-03-2021, 09:41 AM
RE: Obi fluid collision - by JskT01 - 06-03-2021, 09:51 PM
RE: Obi fluid collision - by josemendez - 08-03-2021, 08:24 AM
RE: Obi fluid collision - by JskT01 - 08-03-2021, 07:05 PM
RE: Obi fluid collision - by josemendez - 09-03-2021, 11:27 AM
RE: Obi fluid collision - by JskT01 - 09-03-2021, 09:53 PM
RE: Obi fluid collision - by josemendez - 10-03-2021, 09:05 AM
RE: Obi fluid collision - by JskT01 - 10-03-2021, 07:55 PM
RE: Obi fluid collision - by josemendez - 11-03-2021, 09:02 AM