Hi!
I am new to Bullet. I want to use Bullet in a game for collision detection. And I am managing a very large scene with octree scene manager. I guess it's not a good idea that I add all the objects to Bullet in the begining of the game, since the objects far away would barely interact with the player and should be static.
Should I add the objects to bullet when the player can see and remove them when the player can't at the runtime????
thanks so much!
How to use Bullet in a game
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: How to use Bullet in a game
It is easiest/most common to just add all objects at the start of a game. The acceleration structures and deactivation (sleeping) mechanism takes care of performance.
Thanks,
Erwin
Thanks,
Erwin