DarkflameServer/dGame/dComponents/RigidbodyPhantomPhysicsComponent.cpp

17 lines
493 B
C++
Raw Normal View History

/*
* Darkflame Universe
* Copyright 2023
*/
#include "RigidbodyPhantomPhysicsComponent.h"
#include "Entity.h"
RigidbodyPhantomPhysicsComponent::RigidbodyPhantomPhysicsComponent(Entity* parent) : PhysicsComponent(parent) {
2022-07-28 13:39:57 +00:00
m_Position = m_Parent->GetDefaultPosition();
m_Rotation = m_Parent->GetDefaultRotation();
}
void RigidbodyPhantomPhysicsComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate) {
PhysicsComponent::Serialize(outBitStream, bIsInitialUpdate);
}