Physics3D/RigidBody3D: Add [Get|Set][Angular|Linear]Damping
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Ndk
|
||||
else
|
||||
matrix.MakeIdentity();
|
||||
|
||||
m_object.reset(new Nz::RigidBody3D(&world, geom, matrix));
|
||||
m_object = std::make_unique<Nz::RigidBody3D>(&world, geom, matrix);
|
||||
m_object->SetMass(1.f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user