Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
One particle per enemy for MANY enemies
#1
Hello,

I'm thinking of using Obi for the physics of enemies in my game.  The enemies will be extremely simple: 
  • Modelled as a single sphere
  • Need to collide with terrain (move over the surface of the terrain)
  • Need to collide (repel) each other to avoid getting clumped

I was thinking of using one particle per enemy.

I thought I would use Obi because I suspect it's more efficient than Unity's physics engine, and I would like to have a lot of enemies.  

I'm thinking I'll need to:

  1. Implement my own ObiActor which is basically a container for all enemies
  2. Implement my own blueprint, which specifies the pool of enemies
  3. ....set them all to inactive, and active them as enemies spawn?

Does this sound like a reasonable use of Obi, or am I barking up the wrong tree?
Reply


Messages In This Thread
One particle per enemy for MANY enemies - by Jambo - 17-12-2023, 04:34 PM