|
Hi
Im doing a topdown 2d rpg with vehicles and buildings, rocks, trees, other vehicles etc you bump into. Would box 2d work for this? I have a huge gameworld and you move around freely pretty much like in a diablo hackn slash.
My idea is to have a system where vehicles and objects coming close to the player they "start operate as physics objects" and when being at a distance (like they are most of the time) they are simply ignored by box 2d. For excample in my testmap i have 6000 trees and that will be rather heavy to simulate right? Could this work?
Should i move the physicsworld to always be around the player or should i have a frikkin huge physics-world that covers my entire gameworld? Is it smart to make my unit-objects spawn a "shape n body"-child when close to action and scrap it once they leave the parimeter?
Thanks Erik
Last edited by suliman on Thu Oct 18, 2007 12:11 pm, edited 1 time in total.
|