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

Typo in ExtSimpleFactory.cpp #552

Open
RobertMtx opened this issue Apr 21, 2022 · 1 comment
Open

Typo in ExtSimpleFactory.cpp #552

RobertMtx opened this issue Apr 21, 2022 · 1 comment

Comments

@RobertMtx
Copy link

RobertMtx commented Apr 21, 2022

I was looking around for examples to set dynamic body properties, and noticed a small typo in the file, physx\source\physxextensions\src\ExtSimpleFactory.cpp. In the function PxCloneDynamic(), the following line appears to accidentally copy angular damping instead of linear damping:

	to->setLinearDamping(from.getAngularDamping());
	to->setAngularDamping(from.getAngularDamping());

I figure you guys are working on version 5.0 now, but there's a possibility this typo was transferred over.

@PierreTerdiman
Copy link

Thank you, will fix.

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

2 participants