NVIDIAGameWorks/PhysX

Typo in ExtSimpleFactory.cpp

RobertMtx opened this issue · 1 comments

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.

Thank you, will fix.