Bug fix in API_Impl OnPossibleCollision(...)
This commit is contained in:
parent
4ebb8cd9b8
commit
840f000ec9
|
@ -28,7 +28,7 @@ namespace
|
||||||
default:
|
default:
|
||||||
{ // Apply CollisionResponse in pure gather pattern
|
{ // Apply CollisionResponse in pure gather pattern
|
||||||
ICustomBody::State protoState; proto->GetState( protoState );
|
ICustomBody::State protoState; proto->GetState( protoState );
|
||||||
ICustomBody::State deuterState; proto->GetState( deuterState );
|
ICustomBody::State deuterState; deuter->GetState( deuterState );
|
||||||
|
|
||||||
Float4 protoG = protoState.GetLinearMomentum( worldPointOfContact ),
|
Float4 protoG = protoState.GetLinearMomentum( worldPointOfContact ),
|
||||||
deuterG = deuterState.GetLinearMomentum( worldPointOfContact );
|
deuterG = deuterState.GetLinearMomentum( worldPointOfContact );
|
||||||
|
|
Loading…
Reference in New Issue