Physics joints updated to the new API (#1361)
Co-authored-by: Ulugbek Adilbekov <ulugbek@amazon.com>
This commit is contained in:
@@ -94,6 +94,6 @@ namespace PhysX
|
||||
void EditorFixedJointComponent::BuildGameEntity(AZ::Entity* gameEntity)
|
||||
{
|
||||
m_config.m_followerEntity = GetEntityId(); // joint is always in the same entity as the follower body.
|
||||
gameEntity->CreateComponent<FixedJointComponent>(m_config.ToGameTimeConfig());
|
||||
gameEntity->CreateComponent<FixedJointComponent>(m_config.ToGameTimeConfig(), m_config.ToGenericProperties());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user