Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenes and Character Controller Managers #582

Open
RobertMtx opened this issue Jul 9, 2022 · 0 comments
Open

Scenes and Character Controller Managers #582

RobertMtx opened this issue Jul 9, 2022 · 0 comments

Comments

@RobertMtx
Copy link

I've setup my environment in a way that uses scenes as separate layers. So for example, a multi-story building would use a separate scene on each floor. When characters travel between these floors, they need to switch scenes. This is where I'm hitting a spot of trouble.

Since PxControllerManager requires a PxScene to construct, I'm assuming I need a manager for each layer/floor of my building (for example). But I can't seem to find the functionality to switch a character controller from one PxControllerManager to another. Is this not possible?

If not, what would be the best option here? Should I create a new controller for a character (as well as delete the old one) each time they travel between floors? Or am I just not using the scene system the way the API intended?

Really appreciate any assistance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant