mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-20 11:40:21 +00:00
Rename some variables
- Add order for loading Components - Enforce all components have Entity* in the first argument
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
#include "Entity.h"
|
||||
|
||||
RigidbodyPhantomPhysicsComponent::RigidbodyPhantomPhysicsComponent(Entity* parent) : Component(parent) {
|
||||
m_Position = m_OwningEntity->GetDefaultPosition();
|
||||
m_Rotation = m_OwningEntity->GetDefaultRotation();
|
||||
m_Position = m_ParentEntity->GetDefaultPosition();
|
||||
m_Rotation = m_ParentEntity->GetDefaultRotation();
|
||||
m_IsDirty = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user