Building a Space every frame
Posted: Sun Oct 07, 2012 3:17 pm
Hi,
i'm new to Bepu physics and i have some questions.
I already have a lot of my engine up and running but i still need a physics engine for FPS like movement. For the time beeing there will be only static environment and a few players. The problem is that i cannot afford to load a whole map at once(too much memory). I have a very crude collision test working(to get development going) and i can easily estimate all the collision candidates around a player.
So the question is, can i construct a space every frame, or can i modify it every frame...
Performance is not that a big issue as there will be less than 1000 candidates(cube with 16x16x16 size) that my existing code would detect and put into a space. If the test takes say 10ms every Frame, it's not a problem.
The motivation to switch to BEPU physics is that i want solid and robust FPS like movement with any geometry.
Secondly, can i use the FPS code in the BEPU demo? Is it released under the same licence?
Martin
i'm new to Bepu physics and i have some questions.
I already have a lot of my engine up and running but i still need a physics engine for FPS like movement. For the time beeing there will be only static environment and a few players. The problem is that i cannot afford to load a whole map at once(too much memory). I have a very crude collision test working(to get development going) and i can easily estimate all the collision candidates around a player.
So the question is, can i construct a space every frame, or can i modify it every frame...
Performance is not that a big issue as there will be less than 1000 candidates(cube with 16x16x16 size) that my existing code would detect and put into a space. If the test takes say 10ms every Frame, it's not a problem.
The motivation to switch to BEPU physics is that i want solid and robust FPS like movement with any geometry.
Secondly, can i use the FPS code in the BEPU demo? Is it released under the same licence?
Martin