Using several PhysX scenes at the same time?

Started by
0 comments, last by meeshoo 10 years, 5 months ago

I have been reading through both the manual and API docs for PhysX 3.x and I can't find any reference on how to set PhysX up so you can have several scenes at once in your app?

Do you need to duplicate both the PxFoundation and PxPhysics and the Scene object for each Scene, or can you just call createScene() on the PxPhysics object as many times as you want? Do you need a separate dispatcher per scene, or can they share dispatchers?

Advertisement

Why would you need more than one in a scene? You could use layers for objects interactions like collisions and such.

This topic is closed to new replies.

Advertisement