Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Obi Solvers for Gravity
#4
(07-09-2020, 05:50 AM)capt_fruit Wrote: Thanks for responding!

Is applying gravity to each individual particle trivial or would it also be intensive? I want to make sure that my game stays fairly economical on processing power.

- fruit

Depends on how you implement it. It all boils down to writing data to a Vector3 array.

If you do a basic for loop in a single thread, it can get intensive for many particles. Using Jobs + Burst it would be much faster.
Reply


Messages In This Thread
Multiple Obi Solvers for Gravity - by capt_fruit - 05-09-2020, 08:29 PM
RE: Multiple Obi Solvers for Gravity - by josemendez - 07-09-2020, 07:16 AM