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

Camera falls to the ground in fpsengine template #634

Closed
Akira1San opened this issue Nov 11, 2017 · 3 comments
Closed

Camera falls to the ground in fpsengine template #634

Akira1San opened this issue Nov 11, 2017 · 3 comments

Comments

@Akira1San
Copy link

Found this bug while testing the fps template for my project. The head cube falls to the ground in Upbge 021-022. It dont on bf bge and upbge 019. the cube is set to dynamic col.

link; https://drive.google.com/open?id=1czGQafDLpsoIfXDSN3nrp0ZKR2kzLrvD

@HG1-Public
Copy link

HG1-Public commented Nov 11, 2017

Seems that there has something changed regards to the physic engine.
In the previous version of Upbge you was able to join a dynamic object with an other dynamic object. So the child would act like as a static object.

I don't know if this a new feature or a bug.
But for now you can set the cube.001 manually to static to get it work.

Upbge 020 is also working.

@Akira1San
Copy link
Author

Setting it to static works, thx.

panzergame added a commit that referenced this issue Nov 15, 2017
Previously in CcdPhysicsEnvironment::ConvertObject we iterate over all
the parents from the object tree to find the closer object possibly
used as a compound shape parent. But by doing this we affected the
search of just the root parent object to disable dynamic or just for
tracking (e.g for fh spring).
To found both the root parent and the root compound parent, two
variables are used in COnvertObject, compoundParent and parentRoot.
Also to clairfy, the function in physics controller named SetParentCtrl
is rename SetParentRoot as it was used to set the root parent controller
only, not the parent controller.

Fix issue: #634.
@panzergame
Copy link
Contributor

Fixed in master: 067da32.

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

3 participants