Character controller now responds to setting localPosition on the entity
This commit is contained in:
@@ -27,6 +27,11 @@ namespace Nuake
|
||||
m_World->AddCharacterController(cc);
|
||||
}
|
||||
|
||||
void PhysicsManager::SetCharacterControllerPosition(const Entity& entity, const Vector3& position)
|
||||
{
|
||||
m_World->SetCharacterControllerPosition(entity, position);
|
||||
}
|
||||
|
||||
void PhysicsManager::Step(Timestep ts)
|
||||
{
|
||||
m_World->StepSimulation(ts);
|
||||
|
||||
Reference in New Issue
Block a user